Automad · Automad · CVE-2024-40111
**Name of the Vulnerable Software and Affected Versions**
Automad version 2.0.0-alpha.4
**Description**
A persistent (stored) cross-site scripting (XSS) vulnerability has been identified in Automad. 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.
**Recommendations**
For Automad version 2.0.0-alpha.4, patch immediately and validate user input to prevent malicious script injection. As a temporary workaround, consider restricting access to the template body to minimize the risk of exploitation.