CVE-2025-65956: Formwork CMS has Stored Cross-Site Scripting Vulnerebility in Blog Tags
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.
Published Nov 24, 2025 · Updated Feb 18, 2026
Affected packages
getformwork/formwork
- Ecosystem
- Composer (PHP)
- Affected
- < 2.2.0
- Fixed in
- 2.2.0
- Check
composer show getformwork/formwork
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to 3m4n5.
References
- https://github.com/getformwork/formwork/security/advisories/GHSA-7j46-f57w-76pj
- https://github.com/getformwork/formwork/pull/791
- https://nvd.nist.gov/vuln/detail/CVE-2025-65956
- https://github.com/getformwork/formwork/commit/4abcd60ae7692b46d316f956b0b20fb85336f3b2
- https://github.com/advisories/GHSA-7j46-f57w-76pj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-27198
Formwork Improperly Managed Privileges in User creation
high8.8Feb 19, 2026GHSA-c85w-x26q-ch87
Formwork improperly validates input of User role preventing site and panel availability
high8.2Mar 1, 2025GHSA-vf6x-59hh-332f
Formwork has a cross-site scripting (XSS) vulnerability in Site title
medium4.7Mar 1, 2025CVE-2024-37160
Cross-site scripting (XSS) vulnerability in Description metadata
medium4.8Jun 7, 2024CVE-2024-35621
formwork Cross-site scripting vulnerability in Markdown fields
medium4.8May 28, 2024
