Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/49926?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49926?format=api", "vulnerability_id": "VCID-ygca-wsvj-abff", "summary": "Craft Commerce has Stored XSS in Shipping Categories (Name & Description) Fields Leading to Potential Privilege Escalation\nA stored XSS vulnerability in Craft Commerce allows attackers to execute malicious JavaScript in an administrator’s browser. This occurs because the Shipping Categories (Name & Description) fields in the **Store Management** section are not properly sanitized before being displayed in the admin panel.\n\n---", "aliases": [ { "alias": "CVE-2026-25485" }, { "alias": "GHSA-w8gw-qm8p-j9j3" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/73783?format=api", "purl": "pkg:composer/craftcms/composer@4.10.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/composer@4.10.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/73782?format=api", "purl": "pkg:composer/craftcms/composer@5.5.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/composer@5.5.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/73780?format=api", "purl": "pkg:composer/craftcms/composer@4.0.0-RC1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-ygca-wsvj-abff" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/composer@4.0.0-RC1" }, { "url": "http://public2.vulnerablecode.io/api/packages/73781?format=api", "purl": "pkg:composer/craftcms/composer@5.0.0-RC1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-ygca-wsvj-abff" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/composer@5.0.0-RC1" } ], "references": [ { "reference_url": "https://github.com/craftcms/commerce", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/commerce" }, { "reference_url": "https://github.com/craftcms/commerce/commit/fa273330807807d05b564d37c88654cd772839ee", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/commerce/commit/fa273330807807d05b564d37c88654cd772839ee" }, { "reference_url": "https://github.com/craftcms/commerce/releases/tag/4.10.1", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/commerce/releases/tag/4.10.1" }, { "reference_url": "https://github.com/craftcms/commerce/releases/tag/5.5.2", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/commerce/releases/tag/5.5.2" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25485", "reference_id": "CVE-2026-25485", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25485" }, { "reference_url": "https://github.com/advisories/GHSA-w8gw-qm8p-j9j3", "reference_id": "GHSA-w8gw-qm8p-j9j3", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-w8gw-qm8p-j9j3" }, { "reference_url": "https://github.com/craftcms/commerce/security/advisories/GHSA-w8gw-qm8p-j9j3", "reference_id": "GHSA-w8gw-qm8p-j9j3", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/commerce/security/advisories/GHSA-w8gw-qm8p-j9j3" } ], "weaknesses": [ { "cwe_id": 79, "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "description": "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." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ygca-wsvj-abff" }