Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44989?format=api",
    "vulnerability_id": "VCID-7kre-64fc-2ufr",
    "summary": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with view rights on `XWiki.AttachmentSelector` can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping in the \"Cancel and return to page\" button. This page is installed by default. This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11. There are no known workarounds for this vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2023-29516"
        },
        {
            "alias": "GHSA-3989-4c6x-725f"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64829?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@13.10.11",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@13.10.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64830?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@14.4.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@14.4.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64831?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@14.10.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@14.10.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64826?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@2.0-rc-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7kre-64fc-2ufr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@2.0-rc-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64827?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@14.0-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7kre-64fc-2ufr"
                },
                {
                    "vulnerability": "VCID-vdcg-c985-1yb4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@14.0-rc-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64828?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@14.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7kre-64fc-2ufr"
                },
                {
                    "vulnerability": "VCID-vdcg-c985-1yb4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-attachment-ui@14.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/commit/aca1d677c58563bbe6e35c9e1c29fd8b12ebb996",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwiki/xwiki-platform/commit/aca1d677c58563bbe6e35c9e1c29fd8b12ebb996"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-20275",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jira.xwiki.org/browse/XWIKI-20275"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29516",
            "reference_id": "CVE-2023-29516",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-29516"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-3989-4c6x-725f",
            "reference_id": "GHSA-3989-4c6x-725f",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-3989-4c6x-725f"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-3989-4c6x-725f",
            "reference_id": "GHSA-3989-4c6x-725f",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-3989-4c6x-725f"
        }
    ],
    "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": 74,
            "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
            "description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component."
        },
        {
            "cwe_id": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "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-7kre-64fc-2ufr"
}