Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/65914?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/65914?format=api",
    "vulnerability_id": "VCID-myw9-3vre-xuay",
    "summary": "Craft Commerce is an ecommerce platform for Craft CMS. In versions from 4.0.0-RC1 to 4.10.0 and from 5.0.0 to 5.5.1, a 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. This issue has been patched in versions 4.10.1 and 5.5.2.",
    "aliases": [
        {
            "alias": "CVE-2026-25485"
        },
        {
            "alias": "GHSA-w8gw-qm8p-j9j3"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/38544?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/38541?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/38542?format=api",
            "purl": "pkg:composer/craftcms/composer@4.0.0-RC1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-myw9-3vre-xuay"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/composer@4.0.0-RC1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/38543?format=api",
            "purl": "pkg:composer/craftcms/composer@4.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-myw9-3vre-xuay"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/composer@4.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/38539?format=api",
            "purl": "pkg:composer/craftcms/composer@5.0.0-RC1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-myw9-3vre-xuay"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/composer@5.0.0-RC1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/38540?format=api",
            "purl": "pkg:composer/craftcms/composer@5.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-myw9-3vre-xuay"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/composer@5.5.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-25485",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00025",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07525",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00025",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07492",
                    "published_at": "2026-06-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-25485"
        },
        {
            "reference_url": "https://github.com/craftcms/commerce",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/craftcms/commerce"
        },
        {
            "reference_url": "https://github.com/craftcms/commerce/releases/tag/4.10.1",
            "reference_id": "4.10.1",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-04T15:46:17Z/"
                }
            ],
            "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": "5.5.2",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-04T15:46:17Z/"
                }
            ],
            "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": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25485"
        },
        {
            "reference_url": "https://github.com/craftcms/commerce/commit/fa273330807807d05b564d37c88654cd772839ee",
            "reference_id": "fa273330807807d05b564d37c88654cd772839ee",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-04T15:46:17Z/"
                }
            ],
            "url": "https://github.com/craftcms/commerce/commit/fa273330807807d05b564d37c88654cd772839ee"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-w8gw-qm8p-j9j3",
            "reference_id": "GHSA-w8gw-qm8p-j9j3",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "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": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "6.2",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-04T15:46:17Z/"
                }
            ],
            "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-myw9-3vre-xuay"
}