Vulnerability · Published Jun 7, 2024 · Assigned by GitHub_M
CVE-2024-37160Formwork has a Cross-site scripting (XSS) vulnerability in Description metadata
Medium 4.8
In plain English
A medium-severity cross-site scripting in formwork from getformwork. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Formwork is a flat file-based Content Management System (CMS). An attackers (requires administrator privilege) 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). This vulnerability is fixed in 1.13.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getformwork/formwork | 1.13.1 | GHSA-5pxr-7m4j-jjc6 |
| Packagist | getformwork/formwork | 2.0.0-beta.2 | GHSA-5pxr-7m4j-jjc6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| getformwork | formwork | < 1.13.1= 2.0.0-beta.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/getformwork/formwork/security/advisories/GHSA-5pxr-7m4j-jjc6 x_refsource_CONFIRM
- https://github.com/getformwork/formwork/commit/9d471204f7ebb51c3c27131581c2b834315b5e0b x_refsource_MISC
- https://github.com/getformwork/formwork/commit/f5312015a5a5e89b95ef2bd07e496f8474d579c5 x_refsource_MISC