Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46205?format=api",
    "vulnerability_id": "VCID-127w-r1ud-f7g4",
    "summary": "Improper Control of Generation of Code ('Code Injection')\ncom.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on OAuth authorizations. When a user logs in via the OAuth method, the identityOAuth parameters sent in the GET request is vulnerable to cross site scripting (XSS) and XWiki syntax injection. This allows remote code execution via the groovy macro and thus affects the confidentiality, integrity and availability of the whole XWiki installation. The issue has been fixed in Identity OAuth version 1.6. There are no known workarounds for this vulnerability and users are advised to upgrade.",
    "aliases": [
        {
            "alias": "CVE-2023-45144"
        },
        {
            "alias": "GHSA-h2rm-29ch-wfmh"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67335?format=api",
            "purl": "pkg:maven/com.xwiki.identity-oauth/identity-oauth-ui@1.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.xwiki.identity-oauth/identity-oauth-ui@1.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67334?format=api",
            "purl": "pkg:maven/com.xwiki.identity-oauth/identity-oauth-ui@1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-127w-r1ud-f7g4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.xwiki.identity-oauth/identity-oauth-ui@1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm#L58",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm#L58"
        },
        {
            "reference_url": "https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6"
        },
        {
            "reference_url": "https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6#diff-2ab2e0716443d790d7d798320e4a45151661f4eca5440331f4a227b29c87c188",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6#diff-2ab2e0716443d790d7d798320e4a45151661f4eca5440331f4a227b29c87c188"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-20719",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jira.xwiki.org/browse/XWIKI-20719"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45144",
            "reference_id": "CVE-2023-45144",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45144"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-h2rm-29ch-wfmh",
            "reference_id": "GHSA-h2rm-29ch-wfmh",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-h2rm-29ch-wfmh"
        },
        {
            "reference_url": "https://github.com/xwikisas/identity-oauth/security/advisories/GHSA-h2rm-29ch-wfmh",
            "reference_id": "GHSA-h2rm-29ch-wfmh",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwikisas/identity-oauth/security/advisories/GHSA-h2rm-29ch-wfmh"
        }
    ],
    "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-127w-r1ud-f7g4"
}