Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15635?format=api",
    "vulnerability_id": "VCID-cmgu-xukg-cfdz",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nShopware is an open source e-commerce software platform. Prior to version 5.7.9, Shopware is vulnerable to non-stored cross-site scripting in the storefront. This issue is fixed in version 5.7.9. Users of older versions may attempt to mitigate the vulnerability by using the Shopware security plugin.",
    "aliases": [
        {
            "alias": "CVE-2022-24873"
        },
        {
            "alias": "GHSA-4g29-fccr-p59w"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57696?format=api",
            "purl": "pkg:composer/shopware/core@6.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5393-j7pp-tqa2"
                },
                {
                    "vulnerability": "VCID-s891-7fx6-k7e8"
                },
                {
                    "vulnerability": "VCID-wdc4-uy1a-ybec"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/shopware/core@6.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57699?format=api",
            "purl": "pkg:composer/shopware/platform@6.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5393-j7pp-tqa2"
                },
                {
                    "vulnerability": "VCID-s891-7fx6-k7e8"
                },
                {
                    "vulnerability": "VCID-wdc4-uy1a-ybec"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/shopware/platform@6.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60549?format=api",
            "purl": "pkg:composer/shopware/shopware@5.7.9",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/shopware/shopware@5.7.9"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60550?format=api",
            "purl": "pkg:composer/shopware/core@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cmgu-xukg-cfdz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/shopware/core@5.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60551?format=api",
            "purl": "pkg:composer/shopware/platform@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cmgu-xukg-cfdz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/shopware/platform@5.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52150?format=api",
            "purl": "pkg:composer/shopware/shopware@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6cb3-b3qq-juap"
                },
                {
                    "vulnerability": "VCID-723p-njjg-efbn"
                },
                {
                    "vulnerability": "VCID-bq87-fjfh-m7fx"
                },
                {
                    "vulnerability": "VCID-c3rs-ndfu-c3bq"
                },
                {
                    "vulnerability": "VCID-cdn9-dp2r-fyfg"
                },
                {
                    "vulnerability": "VCID-cmgu-xukg-cfdz"
                },
                {
                    "vulnerability": "VCID-ecce-958d-k3fx"
                },
                {
                    "vulnerability": "VCID-gn89-e5je-ybeb"
                },
                {
                    "vulnerability": "VCID-k6td-39bu-dqa8"
                },
                {
                    "vulnerability": "VCID-mu45-9nhk-f7a5"
                },
                {
                    "vulnerability": "VCID-vzv3-795x-gfhd"
                },
                {
                    "vulnerability": "VCID-wh8d-hm8t-vkfm"
                },
                {
                    "vulnerability": "VCID-ztq4-mw67-d3g4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/shopware/shopware@5.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24873",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00397",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60845",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24873"
        },
        {
            "reference_url": "https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-04-2022",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A: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/2025-04-23T14:07:52Z/"
                }
            ],
            "url": "https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-04-2022"
        },
        {
            "reference_url": "https://github.com/shopware/shopware",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/shopware/shopware"
        },
        {
            "reference_url": "https://www.shopware.com/en/changelog-sw5/#5-7-9",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A: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/2025-04-23T14:07:52Z/"
                }
            ],
            "url": "https://www.shopware.com/en/changelog-sw5/#5-7-9"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24873",
            "reference_id": "CVE-2022-24873",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24873"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4g29-fccr-p59w",
            "reference_id": "GHSA-4g29-fccr-p59w",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-4g29-fccr-p59w"
        },
        {
            "reference_url": "https://github.com/shopware/shopware/security/advisories/GHSA-4g29-fccr-p59w",
            "reference_id": "GHSA-4g29-fccr-p59w",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "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/2025-04-23T14:07:52Z/"
                }
            ],
            "url": "https://github.com/shopware/shopware/security/advisories/GHSA-4g29-fccr-p59w"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "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-cmgu-xukg-cfdz"
}