Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44573?format=api",
    "vulnerability_id": "VCID-16tw-rke6-7bdp",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nXWiki Platform is a generic wiki platform. Starting in version 12.10, a user without script rights can introduce a stored cross-site scripting by using the Live Data macro. This has been patched in XWiki 14.9, 14.4.7, and 13.10.10. There are no known workarounds.",
    "aliases": [
        {
            "alias": "CVE-2023-26480"
        },
        {
            "alias": "GHSA-32fq-m2q5-h83g"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64126?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@13.10.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cawb-zpmc-b3dp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@13.10.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64127?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@14.4.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@14.4.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64128?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@14.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cawb-zpmc-b3dp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@14.9"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64123?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@12.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-16tw-rke6-7bdp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@12.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64124?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@14.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-16tw-rke6-7bdp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@14.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64125?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@14.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-16tw-rke6-7bdp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-livedata-macro@14.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/commit/23d5ea9b23e84b5f3d1f1b2d5673fe8c774d0d79",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwiki/xwiki-platform/commit/23d5ea9b23e84b5f3d1f1b2d5673fe8c774d0d79"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/commit/556e7823260b826f344c1a6e95d935774587e028",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwiki/xwiki-platform/commit/556e7823260b826f344c1a6e95d935774587e028"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-20143",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jira.xwiki.org/browse/XWIKI-20143"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26480",
            "reference_id": "CVE-2023-26480",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26480"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-32fq-m2q5-h83g",
            "reference_id": "GHSA-32fq-m2q5-h83g",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-32fq-m2q5-h83g"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-32fq-m2q5-h83g",
            "reference_id": "GHSA-32fq-m2q5-h83g",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-32fq-m2q5-h83g"
        }
    ],
    "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-16tw-rke6-7bdp"
}