6.5medium
Formwork CMS Has a Stored Cross-Site Scripting (XSS) Vulnerability in Blog Tags
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7j46-f57w-76pj
Description
Formwork is a flat file-based Content Management System (CMS). Prior to version 2.2.0, inserting unsanitized data into the blog tag field results in stored cross‑site scripting (XSS). Any user with credentials to the Formwork CMS who accesses or edits an affected blog post will have attacker‑controlled script executed in their browser. The issue is persistent and impacts privileged administrative workflows. This issue has been patched in version 2.2.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| getformwork formwork | < 2.2.0 | CVE List |
| getformwork/formwork (Packagist) | before 2.2.0 | GitHub Advisory Database |
| formwork_project formwork | before 2.2.0 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Formwork is a flat file-based Content Management System (CMS). Prior to version 2.2.0, inserting unsanitized data into the blog tag field results in stored cross‑site scripting (XSS). Any user with credentials to the Formwork CMS who accesses or edits an affected blog post will have attacker‑controlled script executed in their browser. The issue is persistent and impacts privileged administrative workflows. This issue has been patched in version 2.2.0.
GitHub Advisory Database
Summary
Inserting unsanitized data into the blog tag field in Formwork CMS results in stored cross‑site scripting (XSS). Any user with credentials to the Formwork CMS who accesses or edits an affected blog post will have attacker‑controlled script executed in their browser. Because the issue is persistent and impacts privileged administrative workflows, the severity is elevated.
Details
Formwork CMS fails to properly sanitize data inserted into tags, before saving them and rendering them into the edit blog interface. When a specially crafted tag becomes saved as a tag into the system, it is unable to be removed. Any attempt to remove the tag from the affected post, causes the XSS to trigger once again.
Additionally, once the malicious tag is present, managing standard tags becomes impossible. This is due to script execution on attempted modification. This leads to a form of interface lockout where the payload continually reinserts itself due to the stored, unsafe rendering.
Impact
This is a stored cross‑site scripting (XSS) vulnerability.
This impacts all users who access the affected blog post’s edit page.
Patches
Formwork 2.2.0 ensures proper escaping of user input in tag fields.
NVD (es)
Formwork es un Sistema de Gestión de Contenidos (CMS) basado en archivos planos. Versiones anteriores a la versión 2.2.0, la inserción de datos no saneados en el campo de etiquetas del blog resulta en cross-site scripting (XSS) almacenado. Cualquier usuario con credenciales para el CMS de Formwork que acceda o edite una entrada de blog afectada tendrá un script controlado por el atacante ejecutado en su navegador. El problema es persistente e impacta los flujos de trabajo administrativos privilegiados. Este problema ha sido parcheado en la versión 2.2.0.
References
| https://github.com/getformwork/formwork/security/advisories/GHSA-7j46-f57w-76pj | exploit, third-party-advisory, web | |
| https://github.com/getformwork/formwork/pull/791 | issue-tracking, patch, web | |
| https://github.com/getformwork/formwork/commit/4abcd60ae7692b46d316f956b0b20fb85336f3b2 | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-65956 | advisory | |
| https://github.com/getformwork/formwork | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-65956 changed 2025-11-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7j46-f57w-76pj changed 2026-02-22 | CC-BY-4.0 |
| NVD | CVE-2025-65956 changed 2026-10-18 | Public domain |