Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45718?format=api",
    "vulnerability_id": "VCID-nepv-9985-37g4",
    "summary": "Cross site scripting via input unit widget\nAuthenticated users can inject malicious code in widgets with units, which is then executed both in the element preview (back end) and on the website (front end).",
    "aliases": [
        {
            "alias": "CVE-2023-36806"
        },
        {
            "alias": "GHSA-4gpr-p634-922x"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66263?format=api",
            "purl": "pkg:composer/contao/core-bundle@4.9.42",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.42"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66264?format=api",
            "purl": "pkg:composer/contao/core-bundle@4.13.28",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.13.28"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66265?format=api",
            "purl": "pkg:composer/contao/core-bundle@5.1.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@5.1.10"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57827?format=api",
            "purl": "pkg:composer/contao/core-bundle@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2w7m-mb7e-tqe6"
                },
                {
                    "vulnerability": "VCID-5kwa-7kx3-kfga"
                },
                {
                    "vulnerability": "VCID-6um8-6hqz-uybm"
                },
                {
                    "vulnerability": "VCID-82d1-8yn8-sydv"
                },
                {
                    "vulnerability": "VCID-98fv-kpqs-mybc"
                },
                {
                    "vulnerability": "VCID-ah8s-8q49-8qbw"
                },
                {
                    "vulnerability": "VCID-crsc-bhc9-y3f9"
                },
                {
                    "vulnerability": "VCID-epmj-qf23-xffd"
                },
                {
                    "vulnerability": "VCID-f8ny-db5g-pkhw"
                },
                {
                    "vulnerability": "VCID-jbcs-b2p9-myhz"
                },
                {
                    "vulnerability": "VCID-jzx2-et8q-7qhm"
                },
                {
                    "vulnerability": "VCID-nepv-9985-37g4"
                },
                {
                    "vulnerability": "VCID-r1h5-ag74-dbaw"
                },
                {
                    "vulnerability": "VCID-rj3d-jeyz-vye5"
                },
                {
                    "vulnerability": "VCID-t2u3-tgg3-cbb9"
                },
                {
                    "vulnerability": "VCID-u6sk-25yd-e7b2"
                },
                {
                    "vulnerability": "VCID-wyd5-t8at-8bba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58319?format=api",
            "purl": "pkg:composer/contao/core-bundle@4.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-82d1-8yn8-sydv"
                },
                {
                    "vulnerability": "VCID-azpb-eq6c-e7bw"
                },
                {
                    "vulnerability": "VCID-mt93-hcnp-13ah"
                },
                {
                    "vulnerability": "VCID-nepv-9985-37g4"
                },
                {
                    "vulnerability": "VCID-rj3d-jeyz-vye5"
                },
                {
                    "vulnerability": "VCID-t2u3-tgg3-cbb9"
                },
                {
                    "vulnerability": "VCID-u6sk-25yd-e7b2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64962?format=api",
            "purl": "pkg:composer/contao/core-bundle@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f8ny-db5g-pkhw"
                },
                {
                    "vulnerability": "VCID-gwea-1srz-9uca"
                },
                {
                    "vulnerability": "VCID-mt93-hcnp-13ah"
                },
                {
                    "vulnerability": "VCID-nepv-9985-37g4"
                },
                {
                    "vulnerability": "VCID-ycnh-mnst-duap"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@5.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/contao/contao",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/contao/contao"
        },
        {
            "reference_url": "https://github.com/contao/contao/commit/5c9aff32cfc1f7dc452a045862ac2f86a6b9b4b4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-23T18:55:31Z/"
                }
            ],
            "url": "https://github.com/contao/contao/commit/5c9aff32cfc1f7dc452a045862ac2f86a6b9b4b4"
        },
        {
            "reference_url": "https://github.com/contao/contao/commit/c98585d36baa25fda69c062421e7e7eadc53c82b",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-23T18:55:31Z/"
                }
            ],
            "url": "https://github.com/contao/contao/commit/c98585d36baa25fda69c062421e7e7eadc53c82b"
        },
        {
            "reference_url": "https://github.com/contao/contao/commit/ccb64c777eb0f9c0e6490c9135d80e915d37cd32",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-23T18:55:31Z/"
                }
            ],
            "url": "https://github.com/contao/contao/commit/ccb64c777eb0f9c0e6490c9135d80e915d37cd32"
        },
        {
            "reference_url": "https://herolab.usd.de/security-advisories/usd-2023-0020",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://herolab.usd.de/security-advisories/usd-2023-0020"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36806",
            "reference_id": "CVE-2023-36806",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36806"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4gpr-p634-922x",
            "reference_id": "GHSA-4gpr-p634-922x",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-4gpr-p634-922x"
        },
        {
            "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-4gpr-p634-922x",
            "reference_id": "GHSA-4gpr-p634-922x",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-23T18:55:31Z/"
                }
            ],
            "url": "https://github.com/contao/contao/security/advisories/GHSA-4gpr-p634-922x"
        },
        {
            "reference_url": "https://herolab.usd.de/security-advisories/usd-2023-0020/",
            "reference_id": "usd-2023-0020",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-23T18:55:31Z/"
                }
            ],
            "url": "https://herolab.usd.de/security-advisories/usd-2023-0020/"
        }
    ],
    "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-nepv-9985-37g4"
}