{"id":"CVE-2024-40111","aliases":["CVE-2024-40111","GHSA-g8h2-j9pm-4xx2"],"related":[],"kind":"vulnerability","state":"published","title":"A persistent (stored) cross-site scripting (XSS) vulnerability has been identified in Automad 2.0.0-alpha.4.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha identificado una vulnerabilidad de cross site scripting (XSS) persistente (almacenado) en Automad 2.0.0-alpha.4. Esta vulnerabilidad permite a un atacante inyectar código JavaScript malicioso en el cuerpo de la plantilla. El código inyectado se almacena dentro del archivo plano CMS y se ejecuta en el navegador de cualquier usuario que visite el foro.","source":"nvd"}],"published":"2024-08-23T00:00:00.000Z","modified":"2026-09-10T03:50:18.087Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"2.0.0-alpha.4","status":"affected"}],"vendor":"automad","product":"automad","cpe":"cpe:2.3:a:automad:automad:2.0.0-alpha.4:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.0.0-alpha.4"}],"ecosystem":"Packagist","package":"automad/automad","purl":"pkg:composer/automad/automad","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.0.0"}],"vendor":"automad","product":"automad","cpe":"cpe:2.3:a:automad:automad:2.0.0:alpha4:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/w3bn00b3r/Stored-Cross-Site-Scripting-XSS---Automad-2.0.0-alpha.4/","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://drive.google.com/file/d/10BVQKYo2H1-Nx3FOGteL2xww4lbZ3xlS/view?usp=sharing","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40111","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/marcantondahmen/automad","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/w3bn00b3r/Stored-Cross-Site-Scripting-XSS---Automad-2.0.0-alpha.4","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-08-26T16:14:59.140Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40111","url":"https://www.cve.org/CVERecord?id=CVE-2024-40111","licence":"CVE Terms of Use","modified":"2024-08-26T16:41:30.860Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g8h2-j9pm-4xx2","url":"https://github.com/advisories/GHSA-g8h2-j9pm-4xx2","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:18.087Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40111","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40111","licence":"Public domain","modified":"2026-06-17T07:45:43.363Z"}],"updatedAt":"2026-11-25T22:58:44.708Z","epss":{"score":0.00833,"percentile":0.58742,"date":"2026-12-01T12:00:22.000Z"}}