Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46220?format=api",
    "vulnerability_id": "VCID-xe2v-j69t-d3h3",
    "summary": "Liferay Portal and Liferay DXP Vulnerable to XSS in the Wiki Widget\nStored cross-site scripting (XSS) vulnerability in the Wiki widget in Liferay Wiki Web before 7.0.95 from Liferay Portal (7.1.0 through 7.4.3.87), and Liferay DXP 7.0 fix pack 83 through 102, 7.1 fix pack 28 and earlier, 7.2 fix pack 20 and earlier, 7.3 update 33 and earlier, and 7.4 before update 88 allows remote attackers to inject arbitrary web script or HTML into a parent wiki page via a crafted payload injected into a wiki page's ‘Content’ text field.",
    "aliases": [
        {
            "alias": "CVE-2023-42628"
        },
        {
            "alias": "GHSA-hv45-r2f5-fmhj"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67385?format=api",
            "purl": "pkg:maven/com.liferay/com.liferay.wiki.web@7.0.95",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay/com.liferay.wiki.web@7.0.95"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67372?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.3.10.u34",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.3.10.u34"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67367?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.4.13.u88",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.4.13.u88"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67368?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.0.10.fp83",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.0.10.fp83"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67369?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.0.10.fp102",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.0.10.fp102"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60855?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-67kh-3nge-vfhg"
                },
                {
                    "vulnerability": "VCID-7zhe-ztqw-gkhh"
                },
                {
                    "vulnerability": "VCID-k6d6-hyep-pbac"
                },
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67370?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.1.10.fp28",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.1.10.fp28"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60856?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4mcy-yw2p-v7bd"
                },
                {
                    "vulnerability": "VCID-67kh-3nge-vfhg"
                },
                {
                    "vulnerability": "VCID-7zhe-ztqw-gkhh"
                },
                {
                    "vulnerability": "VCID-b7h9-cxkj-hkc8"
                },
                {
                    "vulnerability": "VCID-eaks-bevz-uuc8"
                },
                {
                    "vulnerability": "VCID-ggs5-4zac-vqa7"
                },
                {
                    "vulnerability": "VCID-h261-uqtv-yfek"
                },
                {
                    "vulnerability": "VCID-hrnu-4t2j-9qba"
                },
                {
                    "vulnerability": "VCID-hw1d-gdcv-vkec"
                },
                {
                    "vulnerability": "VCID-k6d6-hyep-pbac"
                },
                {
                    "vulnerability": "VCID-p9am-1rhf-6bh2"
                },
                {
                    "vulnerability": "VCID-ub82-jbgf-mfb8"
                },
                {
                    "vulnerability": "VCID-uug8-ap5n-r3g2"
                },
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67371?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.2.10.fp20",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebzh-bpks-5qe2"
                },
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.2.10.fp20"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60857?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1fqz-psdf-g7dm"
                },
                {
                    "vulnerability": "VCID-266t-4gfq-duh4"
                },
                {
                    "vulnerability": "VCID-4mcy-yw2p-v7bd"
                },
                {
                    "vulnerability": "VCID-7zhe-ztqw-gkhh"
                },
                {
                    "vulnerability": "VCID-a7z8-2fzy-2qee"
                },
                {
                    "vulnerability": "VCID-b7h9-cxkj-hkc8"
                },
                {
                    "vulnerability": "VCID-e5c7-wsvb-dyfm"
                },
                {
                    "vulnerability": "VCID-ggs5-4zac-vqa7"
                },
                {
                    "vulnerability": "VCID-h261-uqtv-yfek"
                },
                {
                    "vulnerability": "VCID-hrnu-4t2j-9qba"
                },
                {
                    "vulnerability": "VCID-hw1d-gdcv-vkec"
                },
                {
                    "vulnerability": "VCID-k6d6-hyep-pbac"
                },
                {
                    "vulnerability": "VCID-k7yh-fkj8-t3fx"
                },
                {
                    "vulnerability": "VCID-k9yt-aj7x-3bht"
                },
                {
                    "vulnerability": "VCID-mph8-zzjv-67av"
                },
                {
                    "vulnerability": "VCID-n6qs-hded-rydp"
                },
                {
                    "vulnerability": "VCID-p9am-1rhf-6bh2"
                },
                {
                    "vulnerability": "VCID-q7bs-639b-pken"
                },
                {
                    "vulnerability": "VCID-tqvb-a46r-jbf8"
                },
                {
                    "vulnerability": "VCID-uug8-ap5n-r3g2"
                },
                {
                    "vulnerability": "VCID-xa5h-2khm-efgj"
                },
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67365?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1fqz-psdf-g7dm"
                },
                {
                    "vulnerability": "VCID-42k1-vb9z-3qe7"
                },
                {
                    "vulnerability": "VCID-9hvg-h2ra-nbcc"
                },
                {
                    "vulnerability": "VCID-9yw4-52sc-rbbz"
                },
                {
                    "vulnerability": "VCID-a7z8-2fzy-2qee"
                },
                {
                    "vulnerability": "VCID-c3ym-wtv5-hfhr"
                },
                {
                    "vulnerability": "VCID-e5c7-wsvb-dyfm"
                },
                {
                    "vulnerability": "VCID-ggs5-4zac-vqa7"
                },
                {
                    "vulnerability": "VCID-gkn8-ehfa-3ugx"
                },
                {
                    "vulnerability": "VCID-k9yt-aj7x-3bht"
                },
                {
                    "vulnerability": "VCID-tqvb-a46r-jbf8"
                },
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.4.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/liferay/liferay-portal",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/liferay/liferay-portal"
        },
        {
            "reference_url": "https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal"
        },
        {
            "reference_url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-42628",
            "reference_id": "CVE-2023-42628",
            "reference_type": "",
            "scores": [],
            "url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-42628"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42628",
            "reference_id": "CVE-2023-42628",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42628"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hv45-r2f5-fmhj",
            "reference_id": "GHSA-hv45-r2f5-fmhj",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-hv45-r2f5-fmhj"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xe2v-j69t-d3h3"
}