CVE-2024-9699 Cross-Site Scripting (XSS) in flatpressblog/flatpress
An attacker can execute arbitrary JavaScript in the FlatPress CMS admin panel by uploading a file with a malicious filename, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-9699?
CVE-2024-9699 is a high-severity cross-site scripting vulnerability in flatpressblog/flatpress, published on 20 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability in the file upload functionality of the FlatPress CMS admin panel (version latest) allows an attacker to upload a file with a JavaScript payload disguised as a filename. This can lead to a Cross-Site Scripting (XSS) attack if the uploaded file is accessed by other users. The issue is fixed in version 1.4.dev.
Weakness: CWE-79
Which versions are affected by CVE-2024-9699?
It affects 1 product.
Products include Flatpress Flatpress.
How do I fix CVE-2024-9699?
No fix has been published for CVE-2024-9699 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-9699 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9699 exists.
Other vulnerabilities in flatpressblog/flatpress
Sources
Also known as GHSA-rqhc-x44r-f23j.