# CVE-2024-37160: Formwork has a Cross-site scripting (XSS) vulnerability in Description metadata

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-07T14:09:55.132Z
- Modified: 2026-06-17T07:37:52.173Z
- Also known as: GHSA-5pxr-7m4j-jjc6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- getformwork formwork: < 1.13.1; = 2.0.0-beta.1; before 1.13.1; 2.0.0-beta.1
- getformwork/formwork (Packagist): before 1.13.1; from 2.0.0-beta.1 before 2.0.0-beta.2
- formwork_project formwork: before 1.13.1

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `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> (exploit, vendor-advisory, web)
- <https://github.com/getformwork/formwork/commit/9d471204f7ebb51c3c27131581c2b834315b5e0b> (patch, web)
- <https://github.com/getformwork/formwork/commit/f5312015a5a5e89b95ef2bd07e496f8474d579c5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37160> (advisory)
- <https://github.com/getformwork/formwork> (package)

## Sources

- CVE List: [CVE-2024-37160](https://www.cve.org/CVERecord?id=CVE-2024-37160), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-5pxr-7m4j-jjc6](https://github.com/advisories/GHSA-5pxr-7m4j-jjc6), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2024-37160](https://nvd.nist.gov/vuln/detail/CVE-2024-37160), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-37160 · Whole record: https://cve.day/CVE-2024-37160.json · Rebuilt by cve.day 2026-11-25T22:58:41.545Z
