Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. automad/automad
  4. ›
  5. CVE-2024-40111

CVE-2024-40111: Automad Cross-site Scripting vulnerability

August 23, 2024

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.

References

  • drive.google.com/file/d/10BVQKYo2H1-Nx3FOGteL2xww4lbZ3xlS/view?usp=sharing
  • github.com/advisories/GHSA-g8h2-j9pm-4xx2
  • github.com/marcantondahmen/automad
  • github.com/w3bn00b3r/Stored-Cross-Site-Scripting-XSS---Automad-2.0.0-alpha.4
  • nvd.nist.gov/vuln/detail/CVE-2024-40111

Code Behaviors & Features

Detect and mitigate CVE-2024-40111 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.0.0-alpha.4

Solution

Unfortunately, there is no solution available yet.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/automad/automad/CVE-2024-40111.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.