Impact
A cross‑site scripting flaw exists in the DomSanitizer component of Formwork, allowing an attacker to inject malicious content through the formaction attribute during node sanitization. The vulnerability can be triggered remotely and could lead to session hijacking, data theft or defacement of the web application.
Affected Systems
The issue affects Getformwork Formwork installations up to and including version 2.3.12. The vulnerable code resides in formwork/src/Sanitizer/DomSanitizer.php within the URI Sanitizer module. Version 2.3.13 contains the patch that rectifies the sanitization logic.
Risk and Exploitability
The CVSS score of 5.1 indicates a moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the exploit can be launched remotely, the attack vector is likely through a crafted request to a Formwork instance that processes untrusted form actions. The overall risk is considered moderate, requiring timely mitigation to prevent client‑side compromise.
OpenCVE Enrichment