CVE-2024-25412
Published: 27 September 2024
Summary
CVE-2024-25412 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Flatpress Flatpress. Its CVSS base score is 6.1 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 3.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2024-25412 is a reflected cross-site scripting vulnerability in Flatpress version 1.3. The flaw, tracked as CWE-79, resides in the email field handling logic and permits injection of arbitrary HTML or JavaScript payloads. It carries a CVSS 3.1 base score of 6.1 reflecting network attack vector, low complexity, no required privileges, and required user interaction with changed scope.
An unauthenticated attacker can supply a crafted email value that is later rendered without proper output encoding, causing script execution in the browser of any user who views the injected content. Successful exploitation yields the ability to hijack session tokens, perform actions on behalf of the victim, or deliver further client-side attacks within the Flatpress application context.
The two public references consist of a proof-of-concept demonstration and a GitHub repository; neither advisory nor vendor patch information is included. The associated EPSS score has remained flat at 0.3253 with no material upward movement observed since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-22743
Vulnerability details
A cross-site scripting (XSS) vulnerability in Flatpress v1.3 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the email field.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The reflected XSS vulnerability in Flatpress v1.3 installer (setup.php email field) enables exploitation of a public-facing web application (T1190) to execute arbitrary JavaScript in victims' browsers (T1059.007).
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.