Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47088?format=api",
    "vulnerability_id": "VCID-xuaz-p5q4-8beh",
    "summary": "Liferay Portal Calendar module and Liferay DXP vulnerable to Cross-site Scripting, content spoofing\nThe Calendar module in Liferay Portal 7.2.0 through 7.4.2, and older unsupported versions, and Liferay DXP 7.3 before service pack 3, 7.2 before fix pack 15, and older unsupported versions does not escape user supplied data in the default notification email template, which allows remote authenticated users to inject arbitrary web script or HTML via the title of a calendar event or the user's name. This may lead to a content spoofing or cross-site scripting (XSS) attacks depending on the capability of the receiver's mail client.",
    "aliases": [
        {
            "alias": "CVE-2024-25151"
        },
        {
            "alias": "GHSA-hgr6-6hhw-883f"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68843?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.2.10.fp15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9yw4-52sc-rbbz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.2.10.fp15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68816?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.dxp.bom@7.3.10.u4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.dxp.bom@7.3.10.u4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65212?format=api",
            "purl": "pkg:maven/com.liferay.portal/release.portal.bom@7.4.3.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-patg-tmcj-3qbh"
                },
                {
                    "vulnerability": "VCID-v633-mycj-6uh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.liferay.portal/release.portal.bom@7.4.3.4"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/liferay/liferay-portal",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/liferay/liferay-portal"
        },
        {
            "reference_url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25151",
            "reference_id": "CVE-2024-25151",
            "reference_type": "",
            "scores": [],
            "url": "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25151"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-25151",
            "reference_id": "CVE-2024-25151",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-25151"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hgr6-6hhw-883f",
            "reference_id": "GHSA-hgr6-6hhw-883f",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-hgr6-6hhw-883f"
        }
    ],
    "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-xuaz-p5q4-8beh"
}