CVE-2024-40111
MEDIUM 4.8CVSS 3.1Automad Cross-site Scripting vulnerability
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.
- Published
- 23 Aug 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-g8h2-j9pm-4xx2
- Sources
- NVDJSONOSV GHSA-g8h2-j9pm-4xx2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | automad | automadcpe:2.3:a:automad:automad:2.0.0:alpha4:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Packagist | automad/automad | <= 2.0.0-alpha.4 |
References
- https://drive.google.com/file/d/10BVQKYo2H1-Nx3FOGteL2xww4lbZ3xlS/view?usp=sharing · Exploit, WEB
- https://github.com/w3bn00b3r/Stored-Cross-Site-Scripting-XSS---Automad-2.0.0-alpha.4/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-40111 · ADVISORY
- https://github.com/marcantondahmen/automad · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 23 Aug 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 23 Aug 2024)