Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46215?format=api",
    "vulnerability_id": "VCID-tqvb-a46r-jbf8",
    "summary": "Liferay Portal and Liferay DXP Vulnerable to XSS in the Commerce Module\nMultiple stored cross-site scripting (XSS) vulnerabilities in the Commerce module before 4.0.35 from Liferay Portal (7.3.5 through 7.4.3.91), and Liferay DXP 7.3 update 33 and earlier, and 7.4 before update 92 allow remote attackers to inject arbitrary web script or HTML via a crafted payload injected into a (1) Shipping Name, (2) Shipping Phone Number, (3) Shipping Address, (4) Shipping Address 2, (5) Shipping Address 3, (6) Shipping Zip, (7) Shipping City, (8) Shipping Region (9), Shipping Country, (10) Billing Name, (11) Billing Phone Number, (12) Billing Address, (13) Billing Address 2, (14) Billing Address 3, (15) Billing Zip, (16) Billing City, (17) Billing Region, (18) Billing Country, or (19) Region Code.",
    "aliases": [
        {
            "alias": "CVE-2023-42627"
        },
        {
            "alias": "GHSA-qp68-5v39-r869"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67359?format=api",
            "purl": "pkg:maven/com.liferay.commerce/com.liferay.commerce.address.content.web@4.0.35",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.commerce/com.liferay.commerce.address.content.web@4.0.35"
        }
    ],
    "affected_packages": [
        {
            "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-1h16-mptk-gke7"
                },
                {
                    "vulnerability": "VCID-266t-4gfq-duh4"
                },
                {
                    "vulnerability": "VCID-298n-mh47-3ygq"
                },
                {
                    "vulnerability": "VCID-38vz-usgx-g7dv"
                },
                {
                    "vulnerability": "VCID-4mcy-yw2p-v7bd"
                },
                {
                    "vulnerability": "VCID-7f43-u96s-qyeq"
                },
                {
                    "vulnerability": "VCID-7gqd-78yq-r3be"
                },
                {
                    "vulnerability": "VCID-7zhe-ztqw-gkhh"
                },
                {
                    "vulnerability": "VCID-a7z8-2fzy-2qee"
                },
                {
                    "vulnerability": "VCID-a93n-jcyj-s7cb"
                },
                {
                    "vulnerability": "VCID-b7h9-cxkj-hkc8"
                },
                {
                    "vulnerability": "VCID-cxnv-25bg-rubj"
                },
                {
                    "vulnerability": "VCID-e5c7-wsvb-dyfm"
                },
                {
                    "vulnerability": "VCID-ef5k-bdxm-xfer"
                },
                {
                    "vulnerability": "VCID-ggs5-4zac-vqa7"
                },
                {
                    "vulnerability": "VCID-gz3a-m337-s7dn"
                },
                {
                    "vulnerability": "VCID-h261-uqtv-yfek"
                },
                {
                    "vulnerability": "VCID-hhmu-vsj9-gudx"
                },
                {
                    "vulnerability": "VCID-hrnu-4t2j-9qba"
                },
                {
                    "vulnerability": "VCID-hw1d-gdcv-vkec"
                },
                {
                    "vulnerability": "VCID-k1u8-ur3y-zucd"
                },
                {
                    "vulnerability": "VCID-k6d6-hyep-pbac"
                },
                {
                    "vulnerability": "VCID-k7yh-fkj8-t3fx"
                },
                {
                    "vulnerability": "VCID-k9yt-aj7x-3bht"
                },
                {
                    "vulnerability": "VCID-menx-yu2z-xkeh"
                },
                {
                    "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-uu3m-ef36-jqg7"
                },
                {
                    "vulnerability": "VCID-uug8-ap5n-r3g2"
                },
                {
                    "vulnerability": "VCID-x7ny-9pvm-77eh"
                },
                {
                    "vulnerability": "VCID-xa5h-2khm-efgj"
                },
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                },
                {
                    "vulnerability": "VCID-xuaz-p5q4-8beh"
                },
                {
                    "vulnerability": "VCID-xwgk-d28b-rbgz"
                }
            ],
            "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/67386?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.3.10.u33",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-tqvb-a46r-jbf8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.3.10.u33"
        },
        {
            "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-298n-mh47-3ygq"
                },
                {
                    "vulnerability": "VCID-38vz-usgx-g7dv"
                },
                {
                    "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-d8m3-apv8-zfe1"
                },
                {
                    "vulnerability": "VCID-e5c7-wsvb-dyfm"
                },
                {
                    "vulnerability": "VCID-ef5k-bdxm-xfer"
                },
                {
                    "vulnerability": "VCID-ggs5-4zac-vqa7"
                },
                {
                    "vulnerability": "VCID-gkn8-ehfa-3ugx"
                },
                {
                    "vulnerability": "VCID-hhmu-vsj9-gudx"
                },
                {
                    "vulnerability": "VCID-k9yt-aj7x-3bht"
                },
                {
                    "vulnerability": "VCID-menx-yu2z-xkeh"
                },
                {
                    "vulnerability": "VCID-tqvb-a46r-jbf8"
                },
                {
                    "vulnerability": "VCID-uu3m-ef36-jqg7"
                },
                {
                    "vulnerability": "VCID-xe2v-j69t-d3h3"
                },
                {
                    "vulnerability": "VCID-xv4h-g41b-c7c7"
                },
                {
                    "vulnerability": "VCID-xwgk-d28b-rbgz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67387?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.4.13.u92",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-27a1-teqk-cbe2"
                },
                {
                    "vulnerability": "VCID-5nq8-gsav-5ffq"
                },
                {
                    "vulnerability": "VCID-ebzh-bpks-5qe2"
                },
                {
                    "vulnerability": "VCID-ej5y-geq1-pkfn"
                },
                {
                    "vulnerability": "VCID-mbd8-z3ry-cqap"
                },
                {
                    "vulnerability": "VCID-mf9a-eusx-f3gb"
                },
                {
                    "vulnerability": "VCID-tqvb-a46r-jbf8"
                },
                {
                    "vulnerability": "VCID-xn1n-5rgc-83bg"
                },
                {
                    "vulnerability": "VCID-xv4h-g41b-c7c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.4.13.u92"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/liferay/liferay-portal",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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": [
                {
                    "value": "9.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "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-42627",
            "reference_id": "CVE-2023-42627",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-01-02T19:36:13Z/"
                }
            ],
            "url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2023-42627"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42627",
            "reference_id": "CVE-2023-42627",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-42627"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-qp68-5v39-r869",
            "reference_id": "GHSA-qp68-5v39-r869",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-qp68-5v39-r869"
        },
        {
            "reference_url": "https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal/",
            "reference_id": "stored-cross-site-scripting-vulnerabilities-in-liferay-portal",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-01-02T19:36:13Z/"
                }
            ],
            "url": "https://www.pentagrid.ch/en/blog/stored-cross-site-scripting-vulnerabilities-in-liferay-portal/"
        }
    ],
    "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": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tqvb-a46r-jbf8"
}