Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/65654?format=api",
    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.0-rc-1",
    "type": "maven",
    "namespace": "org.xwiki.platform",
    "name": "xwiki-platform-flamingo-skin-resources",
    "version": "15.0-rc-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "15.1-rc-1",
    "latest_non_vulnerable_version": "17.4.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45457?format=api",
            "vulnerability_id": "VCID-dxbv-xw57-2qc3",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the previewactions template to perform a XSS, e.g. by using URL such as: > <hostname>/xwiki/bin/get/FlamingoThemes/Cerulean xpage=xpart&vm=previewactions.vm&xcontinue=javascript:alert(document.domain). This vulnerability exists since XWiki 6.1-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.",
            "references": [
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xwiki/xwiki-platform/commit/9f01166b1a8ee9639666099eb5040302df067e4d"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-20342",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jira.xwiki.org/browse/XWIKI-20342"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-20583",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jira.xwiki.org/browse/XWIKI-20583"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35162",
                    "reference_id": "CVE-2023-35162",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35162"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q9hg-9qj2-mxf9",
                    "reference_id": "GHSA-q9hg-9qj2-mxf9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-q9hg-9qj2-mxf9"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9",
                    "reference_id": "GHSA-q9hg-9qj2-mxf9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-q9hg-9qj2-mxf9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65656?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.1-rc-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.1-rc-1"
                }
            ],
            "aliases": [
                "CVE-2023-35162",
                "GHSA-q9hg-9qj2-mxf9"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dxbv-xw57-2qc3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45482?format=api",
            "vulnerability_id": "VCID-k9fe-m5w6-kqhs",
            "summary": "Improper Neutralization of Alternate XSS Syntax\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the restore template to perform a XSS, e.g. by using URL such as: > /xwiki/bin/view/XWiki/Main?xpage=restore&showBatch=true&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 9.4-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.",
            "references": [
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/commit/d5472100606c8355ed44ada273e91df91f682738",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xwiki/xwiki-platform/commit/d5472100606c8355ed44ada273e91df91f682738"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-20352",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jira.xwiki.org/browse/XWIKI-20352"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-20583",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jira.xwiki.org/browse/XWIKI-20583"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35158",
                    "reference_id": "CVE-2023-35158",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35158"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mwxj-g7fw-7hc8",
                    "reference_id": "GHSA-mwxj-g7fw-7hc8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mwxj-g7fw-7hc8"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mwxj-g7fw-7hc8",
                    "reference_id": "GHSA-mwxj-g7fw-7hc8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mwxj-g7fw-7hc8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/65656?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.1-rc-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.1-rc-1"
                }
            ],
            "aliases": [
                "CVE-2023-35158",
                "GHSA-mwxj-g7fw-7hc8"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k9fe-m5w6-kqhs"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46355?format=api",
            "vulnerability_id": "VCID-pecn-9216-b7b5",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki is vulnerable to reflected cross-site scripting (RXSS) via the `rev` parameter that is used in the content of the content menu without escaping. If an attacker can convince a user to visit a link with a crafted parameter, this allows the attacker to execute arbitrary actions in the name of the user, including remote code (Groovy) execution in the case of a user with programming right, compromising the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 15.6 RC1, 15.5.1 and 14.10.14. The patch in commit `04e325d57` can be manually applied without upgrading (or restarting) the instance. Users are advised to upgrade or to manually apply the patch. There are no known workarounds for this vulnerability.",
            "references": [
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/commit/04e325d57d4bcb6ab79bddcafbb19032474c2a55",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xwiki/xwiki-platform/commit/04e325d57d4bcb6ab79bddcafbb19032474c2a55"
                },
                {
                    "reference_url": "https://jira.xwiki.org/browse/XWIKI-21095",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jira.xwiki.org/browse/XWIKI-21095"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46732",
                    "reference_id": "CVE-2023-46732",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46732"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-j9rc-w3wv-fv62",
                    "reference_id": "GHSA-j9rc-w3wv-fv62",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-j9rc-w3wv-fv62"
                },
                {
                    "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j9rc-w3wv-fv62",
                    "reference_id": "GHSA-j9rc-w3wv-fv62",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j9rc-w3wv-fv62"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67656?format=api",
                    "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.5.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.5.1"
                }
            ],
            "aliases": [
                "CVE-2023-46732",
                "GHSA-j9rc-w3wv-fv62"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pecn-9216-b7b5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.0-rc-1"
}