CVE-2025-65956: Getformwork/formwork Cross-Site Scripting Vulnerability
MODERATECVE-2025-65956 is a MODERATE (CVSS 6.5) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Getformwork/formwork libraries in the Packagist ecosystem. The issue involves formwork cms has stored cross-site scripting vulnerebility in blog tags. Remediation is available by upgrading affected packages to version 2.2.0.
CVE-2025-65956 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L).
How to Fix CVE-2025-65956
To remediate this vulnerability, upgrade all affected Getformwork/formwork dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade getformwork/formwork to 2.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for getformwork/formwork
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-65956, inspect your project dependencies for Getformwork/formwork:
inspect dependencies for getformwork/formwork
Analyze the terminal output to locate any version of Getformwork/formwork in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Getformwork/formwork, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-65956 Affected Getformwork/formwork Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
getformwork/formwork
|
Packagist |
< 2.2.0
|
2.2.0
|
References
Frequently Asked Questions
What is CVE-2025-65956?
Which Getformwork/formwork versions are affected?
What version fixes CVE-2025-65956?
Is getformwork/formwork affected?
What is the CVSS score of CVE-2025-65956?
What CWE is associated with CVE-2025-65956?
How can I check Packagist dependencies for CVE-2025-65956?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7j46-f57w-76pj",
"modified" : "2026-02-18T23:48:02Z",
"published" : "2025-11-24T22:13:32Z",
"aliases" : [ "CVE-2025-65956" ],
"summary" : "Formwork CMS has Stored Cross-Site Scripting Vulnerebility in Blog Tags",
"details" : "### Summary\nInserting unsanitized data into the blog tag field in Formwork CMS results in stored cross‑site scripting (XSS).\nAny 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.\n\n### Details\nFormwork 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.\n\nAdditionally, 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.\n\n### Impact\nThis is a stored cross‑site scripting (XSS) vulnerability.\n\nThis impacts all users who access the affected blog post’s edit page.\n\n### Patches\n[Formwork 2.2.0](https://github.com/getformwork/formwork/releases/tag/2.2.0) ensures proper escaping of user input in tag fields.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "getformwork/formwork"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/getformwork/formwork/security/advisories/GHSA-7j46-f57w-76pj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-65956"
}, {
"type" : "WEB",
"url" : "https://github.com/getformwork/formwork/pull/791"
}, {
"type" : "WEB",
"url" : "https://github.com/getformwork/formwork/commit/4abcd60ae7692b46d316f956b0b20fb85336f3b2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/getformwork/formwork"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-24T22:13:32Z",
"nvd_published_at" : "2025-11-26T00:15:50Z"
}
}