CVE-2026-22254: Winter/wn cms module Cross-Site Scripting Vulnerability
LOWCVE-2026-22254 is a LOW (CVSS 0.0) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Winter/wn cms module libraries in the Packagist ecosystem. The issue involves winter cms has stored cross-site scripting (xss) in asset manager. Remediation is available by upgrading affected packages to version 1.2.10.
CVE-2026-22254 at a Glance
Security Impact
CVSS: 0.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:N).
How to Fix CVE-2026-22254
To remediate this vulnerability, upgrade all affected Winter/wn cms module 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 winter/wn-cms-module to 1.2.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for winter/wn-cms-module
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-22254, inspect your project dependencies for Winter/wn cms module:
inspect dependencies for winter/wn-cms-module
Analyze the terminal output to locate any version of Winter/wn cms module in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.10), 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 Winter/wn cms module, 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-2026-22254 Affected Winter/wn cms module Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
winter/wn-cms-module
|
Packagist |
< 1.2.10
|
1.2.10
|
References
Frequently Asked Questions
What is CVE-2026-22254?
Which Winter/wn cms module versions are affected?
What version fixes CVE-2026-22254?
Is winter/wn-cms-module affected?
What is the CVSS score of CVE-2026-22254?
What CWE is associated with CVE-2026-22254?
How can I check Packagist dependencies for CVE-2026-22254?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m7gw-rffq-rxjm",
"modified" : "2026-02-06T21:42:09Z",
"published" : "2026-02-04T21:32:39Z",
"aliases" : [ "CVE-2026-22254" ],
"summary" : "Winter CMS has Stored Cross-site Scripting (XSS) in Asset Manager",
"details" : "## Impact\nAffected versions of Winter CMS allow users with access to the CMS Asset Manager were able to upload SVGs without automatic sanitization.\n\nTo actively exploit this security issue, an attacker would need access to the Backend with a user account with the following permission: `cms.manage_assets`\n\nThe Winter CMS maintainers strongly recommend that the `cms.manage_assets` permission only be reserved to trusted administrators and developers in general.\n\n## Patches\nSanitization of SVG assets is now applied automatically when uploading through the CMS Asset Manager.\n\nThis security issue has been fixed as of https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65.\n\n## Workarounds\nIf users cannot upgrade, they may apply commit https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65 to their Winter CMS installation manually to resolve this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "winter/wn-cms-module"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.10"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.2.9"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/wintercms/winter/security/advisories/GHSA-m7gw-rffq-rxjm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22254"
}, {
"type" : "WEB",
"url" : "https://github.com/wintercms/winter/commit/8a7f74b004fcd19721764fc63af0cdb339d9fb65"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wintercms/winter"
}, {
"type" : "WEB",
"url" : "https://github.com/wintercms/winter/releases/tag/v1.2.10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-04T21:32:39Z",
"nvd_published_at" : "2026-02-06T20:16:10Z"
}
}