# CVE-2021-37502: Cross site scripting in automad/automad

Source: https://junglewise.ai/threats/cve-2021-37502-cross-site-scripting-in-automad-automad  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-02-03  
License: CC BY 4.0 with a link back

CVE-2021-37502 · Severity: low · CVSS 3.1 · Published 2023-02-03

Cross site scripting in automad/automad

Technologies: [automad/automad (Packagist)](https://junglewise.ai/threats/technologies/automad-automad). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-37502 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-37502 being exploited in the wild.

**How severe is CVE-2021-37502?** Low severity, with a CVSS score of 3.1, published 3 February 2023.

**Which products and versions are affected?** automad/automad (Packagist) ECOSYSTEM:introduced=0,fixed=1.8.0.

**Is there a fix for CVE-2021-37502?** Yes. automad/automad (Packagist): upgrade to 1.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-37502?** Check whether you run automad/automad (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- automad/automad (Packagist): upgrade to 1.8.0 or later

  ```sh
  composer require automad/automad:^1.8.0
  ```


## Affected products

- automad/automad (Packagist) ECOSYSTEM:introduced=0,fixed=1.8.0

## Identifiers

- CVE-2021-37502
- GHSA-q3c8-65q7-9v78

## Related threats

- [Automad broken access control in user-collection API](https://junglewise.ai/threats/cve-2026-45332-automad-broken-access-control-in-user-collection-api)
- [Automad Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2024-40111-automad-cross-site-scripting-vulnerability)
- [Automad arbitrary file upload vulnerability](https://junglewise.ai/threats/cve-2024-40400-automad-arbitrary-file-upload-vulnerability)
- [Cross-Site Request Forgery (CSRF) in automad/automad](https://junglewise.ai/threats/cve-2023-7038-cross-site-request-forgery-csrf-in-automad-automad)
- [Withdrawn Advisory: Unrestricted File Upload affecting automad](https://junglewise.ai/threats/cve-2023-7036-withdrawn-advisory-unrestricted-file-upload-affecting-automad)
