PT-2024-27344 · Formwork · Formwork
Kyokito1412
·
Published
2024-06-07
·
Updated
2024-06-11
·
CVE-2024-37160
CVSS v3.1
4.8
Medium
| Vector | AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Formwork versions prior to 1.13.1
Description
Formwork is a flat file-based Content Management System (CMS) that allows an attacker with administrator privileges to execute arbitrary web scripts by modifying site options via /panel/options/site. This type of attack is suitable for persistence, affecting visitors across all pages (except the dashboard). The issue is a Stored XSS vulnerability, which enables attackers to inject malicious JavaScript or HTML through a crafted payload, achieving persistence and potentially attacking numerous visitors.
Recommendations
For versions prior to 1.13.1, update to Formwork 1.13.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the /panel/options/site endpoint to minimize the risk of exploitation. Additionally, avoid using the description field in the site options to prevent potential injection of malicious scripts.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Formwork