CVE-2021-37502 Cross site scripting in automad/automad
Remote attackers can execute arbitrary code via XSS in the user name field when adding a user in automad.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-37502?
CVE-2021-37502 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Feb 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross Site Scripting (XSS) vulnerability in automad 1.7.5 allows remote attackers to run arbitrary code via the user name field when adding a user.
Weakness: CWE-79
Which versions are affected by CVE-2021-37502?
2 open source packages ship an affected version, including automad/automad. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
automad/automad Packagist | All versions | 1.8.0 |
automad/automad Packagist | All versions | 1.8.0 |
Products include Automad Automad.
How do I fix CVE-2021-37502?
Upgrade automad/automad to 1.8.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-37502 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-37502 exists.
Other vulnerabilities in n/a
- CVE-2024-40400 Automad arbitrary file upload vulnerability
- CVE-2023-7037 automad FileController.php import server-side request forgery
- CVE-2024-40111 Cross-site scripting in n/a
- CVE-2023-7035 automad Setting post.php cross site scripting
- CVE-2023-7036 automad Content Type FileCollectionController.php upload unrestricted upload
Sources
Also known as GHSA-q3c8-65q7-9v78.