Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15545?format=api",
    "vulnerability_id": "VCID-p43p-dv2d-9qbp",
    "summary": "Liferay Portal and Liferay DXP allows arbitrary injection via the name of an asset category\nCross-site scripting (XSS) vulnerability in the Asset module's asset categories selector before 6.1.0 in Liferay Portal 7.3.3 through 7.4.0, and Liferay DXP 7.3 before service pack 3 allows remote attackers to inject arbitrary web script or HTML via the name of an asset category.",
    "aliases": [
        {
            "alias": "CVE-2022-26593"
        },
        {
            "alias": "GHSA-q2rp-xfj8-r95h"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60399?format=api",
            "purl": "pkg:maven/com.liferay/com.liferay.asset.taglib@6.1.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay/com.liferay.asset.taglib@6.1.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59826?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-32kd-hk4s-j3es"
                },
                {
                    "vulnerability": "VCID-5628-87wr-nybq"
                },
                {
                    "vulnerability": "VCID-599q-63p5-13dc"
                },
                {
                    "vulnerability": "VCID-6vrh-zspb-nbct"
                },
                {
                    "vulnerability": "VCID-721d-dtky-8ycd"
                },
                {
                    "vulnerability": "VCID-89zv-ajmx-87bh"
                },
                {
                    "vulnerability": "VCID-8e93-zavb-mbdw"
                },
                {
                    "vulnerability": "VCID-9ez3-d794-bffp"
                },
                {
                    "vulnerability": "VCID-aek3-barj-vygt"
                },
                {
                    "vulnerability": "VCID-bjj2-prjz-5kew"
                },
                {
                    "vulnerability": "VCID-bqpt-c2qn-2ke2"
                },
                {
                    "vulnerability": "VCID-cek7-7jqe-4kg2"
                },
                {
                    "vulnerability": "VCID-d9m4-h45w-cybh"
                },
                {
                    "vulnerability": "VCID-duvg-hkyn-uqcs"
                },
                {
                    "vulnerability": "VCID-e42x-p4br-vyfj"
                },
                {
                    "vulnerability": "VCID-f4pp-shhv-xuh5"
                },
                {
                    "vulnerability": "VCID-g5s2-nrrk-tfhj"
                },
                {
                    "vulnerability": "VCID-gb78-25na-4kak"
                },
                {
                    "vulnerability": "VCID-gf41-q7x8-gfbx"
                },
                {
                    "vulnerability": "VCID-hm6a-7agu-x7hw"
                },
                {
                    "vulnerability": "VCID-jkab-y16v-4qgc"
                },
                {
                    "vulnerability": "VCID-jr3f-yvy8-bbak"
                },
                {
                    "vulnerability": "VCID-kb2d-h77f-7yh7"
                },
                {
                    "vulnerability": "VCID-kghr-nqd7-7bfa"
                },
                {
                    "vulnerability": "VCID-mkf6-6w9a-vyg3"
                },
                {
                    "vulnerability": "VCID-n1t7-qtvv-f3f3"
                },
                {
                    "vulnerability": "VCID-ng7y-r139-qyay"
                },
                {
                    "vulnerability": "VCID-np6t-napm-xbc4"
                },
                {
                    "vulnerability": "VCID-p43p-dv2d-9qbp"
                },
                {
                    "vulnerability": "VCID-pq34-3vhq-vbfv"
                },
                {
                    "vulnerability": "VCID-q2b7-dznb-sbhc"
                },
                {
                    "vulnerability": "VCID-qr3x-2ch3-v3cv"
                },
                {
                    "vulnerability": "VCID-qvrp-cq61-fyg2"
                },
                {
                    "vulnerability": "VCID-rx9m-va1u-byhe"
                },
                {
                    "vulnerability": "VCID-suqj-3zjg-5qaa"
                },
                {
                    "vulnerability": "VCID-v926-25cs-puc8"
                },
                {
                    "vulnerability": "VCID-wk7y-qvkd-jbep"
                },
                {
                    "vulnerability": "VCID-zs1z-h53m-pyev"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-26593",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37572",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-26593"
        },
        {
            "reference_url": "https://github.com/liferay/liferay-portal",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/liferay/liferay-portal"
        },
        {
            "reference_url": "https://github.com/liferay/liferay-portal/commit/811d894cb079aba3644771a70cd9a2dfd36b945d",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/liferay/liferay-portal/commit/811d894cb079aba3644771a70cd9a2dfd36b945d"
        },
        {
            "reference_url": "https://liferay.atlassian.net/issues/LPE-17284",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://liferay.atlassian.net/issues/LPE-17284"
        },
        {
            "reference_url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-26593-stored-xss-with-category-name-in-asset-categories-selector?p_r_p_assetEntryId=121612145&_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_redirect=https%3A%2F%2Fliferay.dev%3A443%2Fportal%2Fsecurity%2Fknown-vulnerabilities%3Fp_p_id%3Dcom_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_r_p_assetEntryId%3D121612145%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-26593-stored-xss-with-category-name-in-asset-categories-selector?p_r_p_assetEntryId=121612145&_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_redirect=https%3A%2F%2Fliferay.dev%3A443%2Fportal%2Fsecurity%2Fknown-vulnerabilities%3Fp_p_id%3Dcom_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_r_p_assetEntryId%3D121612145%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26593",
            "reference_id": "CVE-2022-26593",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26593"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-q2rp-xfj8-r95h",
            "reference_id": "GHSA-q2rp-xfj8-r95h",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-q2rp-xfj8-r95h"
        }
    ],
    "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p43p-dv2d-9qbp"
}