GHSA-wf98-vxv9-jqfv: Craftcms/cms Cross-Site Scripting Vulnerability

LOW
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-wf98-vxv9-jqfv
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Craftcms/cms
Package Ecosystem Packagist
Published Date
Last Updated

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.

craftcms/cms fixed: 3.7.29
Upgrade craftcms/cms to 3.7.29
Verify Direct and Transitive Dependencies

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

### Impact Under some circumstances, the Feeds widget on the dashboard could have an XSS vulnerability if a malformed feed was supplied. ### Patches This has been patched in Craft 3.7.29. ### References * https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#3729---2022-01-18 ### For more information If you have any questions or comments about this advisory, email us at [support@craftcms.com](mailto:support@craftcms.com) ---------- Credits: https://github.com/noobpk

GHSA-wf98-vxv9-jqfv Affected Craftcms/cms Versions

1 component(s)
Fixed Versions:
3.7.29
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?
GHSA-wf98-vxv9-jqfv is a security vulnerability in Craftcms/cms involving XSS Injection Vulnerability under General Security Weakness.
Which Craftcms/cms versions are affected?
Affected versions include releases prior to 3.7.29 across affected packages: craftcms/cms.
What version fixes GHSA-wf98-vxv9-jqfv?
Upgrading to 3.7.29 (or the latest patched release for your respective branch) resolves the vulnerability.
Is craftcms/cms affected?
Yes, craftcms/cms is affected in releases prior to 3.7.29. Upgrade your dependency to 3.7.29 or later.
What CWE is associated with GHSA-wf98-vxv9-jqfv?
GHSA-wf98-vxv9-jqfv is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-wf98-vxv9-jqfv?
Run the dependency tree command: 'inspect dependencies for craftcms/cms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}