# CVE-2024-40111: A persistent (stored) cross-site scripting (XSS) vulnerability has been identified in Automad 2.0.0-alpha.4.

- Severity: Medium 4.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-08-23T00:00:00.000Z
- Modified: 2026-09-10T03:50:18.087Z
- Also known as: GHSA-g8h2-j9pm-4xx2
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

A persistent (stored) cross-site scripting (XSS) vulnerability has been identified in Automad 2.0.0-alpha.4. This vulnerability enables an attacker to inject malicious JavaScript code into the template body. The injected code is stored within the flat file CMS and is executed in the browser of any user visiting the forum.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- automad automad: 2.0.0-alpha.4; 2.0.0
- automad/automad (Packagist): up to 2.0.0-alpha.4

## Every score

- CISA-ADP: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`

## References

- <https://github.com/w3bn00b3r/Stored-Cross-Site-Scripting-XSS---Automad-2.0.0-alpha.4/> (exploit, third-party-advisory)
- <https://drive.google.com/file/d/10BVQKYo2H1-Nx3FOGteL2xww4lbZ3xlS/view?usp=sharing> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-40111> (advisory)
- <https://github.com/marcantondahmen/automad> (package)
- <https://github.com/w3bn00b3r/Stored-Cross-Site-Scripting-XSS---Automad-2.0.0-alpha.4> (web)

## Sources

- CVE List: [CVE-2024-40111](https://www.cve.org/CVERecord?id=CVE-2024-40111), CVE Terms of Use, modified 2024-08-26
- GitHub Advisory Database: [GHSA-g8h2-j9pm-4xx2](https://github.com/advisories/GHSA-g8h2-j9pm-4xx2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-40111](https://nvd.nist.gov/vuln/detail/CVE-2024-40111), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40111 · Whole record: https://cve.day/CVE-2024-40111.json · Rebuilt by cve.day 2026-11-25T22:58:44.708Z
