GHSA-wf98-vxv9-jqfv: Craftcms/cms Cross-Site Scripting Vulnerability
LOWGHSA-wf98-vxv9-jqfv is a LOW cross-site scripting vulnerability (General Security Weakness) affecting Craftcms/cms libraries in the Packagist ecosystem. The issue involves xss injection vulnerability. Remediation is available by upgrading affected packages to version 3.7.29.
GHSA-wf98-vxv9-jqfv at a Glance
How to Fix GHSA-wf98-vxv9-jqfv
To remediate this vulnerability, upgrade all affected Craftcms/cms 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 craftcms/cms to 3.7.29
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for craftcms/cms
How to Check if You Are Affected
To determine whether your application is affected by GHSA-wf98-vxv9-jqfv, inspect your project dependencies for Craftcms/cms:
inspect dependencies for craftcms/cms
Analyze the terminal output to locate any version of Craftcms/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.29), 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 General Security Weakness. In Craftcms/cms, 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
GHSA-wf98-vxv9-jqfv Affected Craftcms/cms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
craftcms/cms
|
Packagist |
< 3.7.29
|
3.7.29
|
References
Frequently Asked Questions
What is GHSA-wf98-vxv9-jqfv?
Which Craftcms/cms versions are affected?
What version fixes GHSA-wf98-vxv9-jqfv?
Is craftcms/cms affected?
What CWE is associated with GHSA-wf98-vxv9-jqfv?
How can I check Packagist dependencies for GHSA-wf98-vxv9-jqfv?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wf98-vxv9-jqfv",
"modified" : "2022-04-05T18:31:51Z",
"published" : "2022-04-05T18:31:51Z",
"aliases" : [ ],
"summary" : "XSS Injection Vulnerability",
"details" : "### Impact\n\nUnder some circumstances, the Feeds widget on the dashboard could have an XSS vulnerability if a malformed feed was supplied.\n\n### Patches\n\nThis has been patched in Craft 3.7.29.\n\n### References\n\n* https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#3729---2022-01-18\n\n### For more information\n\nIf you have any questions or comments about this advisory, email us at [support@craftcms.com](mailto:support@craftcms.com)\n\n----------\n\nCredits: https://github.com/noobpk\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "craftcms/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.29"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/craftcms/cms/security/advisories/GHSA-wf98-vxv9-jqfv"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/craftcms/cms"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-04-05T18:31:51Z",
"nvd_published_at" : null
}
}