Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41358?format=api",
    "vulnerability_id": "VCID-82d1-8yn8-sydv",
    "summary": "Cross site scripting via HTML attributes in the back end\nIt is possible for untrusted users to inject malicious code into HTML attributes in the back end, which will be executed both in the element preview (back end) and on the website (front end).\n\nInstallations are only affected if there are untrusted back end users who have the rights to modify HTML fields (e.g. TinyMCE).",
    "aliases": [
        {
            "alias": "CVE-2021-35955"
        },
        {
            "alias": "GHSA-hr3h-x6gq-rqcp"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58741?format=api",
            "purl": "pkg:composer/contao/contao@4.4.56",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/contao@4.4.56"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58742?format=api",
            "purl": "pkg:composer/contao/contao@4.9.18",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/contao@4.9.18"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58743?format=api",
            "purl": "pkg:composer/contao/contao@4.11.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/contao@4.11.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58653?format=api",
            "purl": "pkg:composer/contao/core-bundle@4.4.56",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rj3d-jeyz-vye5"
                },
                {
                    "vulnerability": "VCID-t2u3-tgg3-cbb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.4.56"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58654?format=api",
            "purl": "pkg:composer/contao/core-bundle@4.9.18",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rj3d-jeyz-vye5"
                },
                {
                    "vulnerability": "VCID-t2u3-tgg3-cbb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.18"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58655?format=api",
            "purl": "pkg:composer/contao/core-bundle@4.11.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rj3d-jeyz-vye5"
                },
                {
                    "vulnerability": "VCID-t2u3-tgg3-cbb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.7"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58738?format=api",
            "purl": "pkg:composer/contao/contao@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "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-rj3d-jeyz-vye5"
                },
                {
                    "vulnerability": "VCID-t2u3-tgg3-cbb9"
                },
                {
                    "vulnerability": "VCID-u6sk-25yd-e7b2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/contao@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58739?format=api",
            "purl": "pkg:composer/contao/contao@4.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3fux-z15d-13g1"
                },
                {
                    "vulnerability": "VCID-5kwa-7kx3-kfga"
                },
                {
                    "vulnerability": "VCID-82d1-8yn8-sydv"
                },
                {
                    "vulnerability": "VCID-98fv-kpqs-mybc"
                },
                {
                    "vulnerability": "VCID-ah8s-8q49-8qbw"
                },
                {
                    "vulnerability": "VCID-azpb-eq6c-e7bw"
                },
                {
                    "vulnerability": "VCID-epmj-qf23-xffd"
                },
                {
                    "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/contao@4.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58740?format=api",
            "purl": "pkg:composer/contao/contao@4.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-82d1-8yn8-sydv"
                },
                {
                    "vulnerability": "VCID-azpb-eq6c-e7bw"
                },
                {
                    "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/contao@4.10.0"
        },
        {
            "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/57828?format=api",
            "purl": "pkg:composer/contao/core-bundle@4.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3fux-z15d-13g1"
                },
                {
                    "vulnerability": "VCID-5kwa-7kx3-kfga"
                },
                {
                    "vulnerability": "VCID-82d1-8yn8-sydv"
                },
                {
                    "vulnerability": "VCID-98fv-kpqs-mybc"
                },
                {
                    "vulnerability": "VCID-ah8s-8q49-8qbw"
                },
                {
                    "vulnerability": "VCID-azpb-eq6c-e7bw"
                },
                {
                    "vulnerability": "VCID-epmj-qf23-xffd"
                },
                {
                    "vulnerability": "VCID-rj3d-jeyz-vye5"
                },
                {
                    "vulnerability": "VCID-t2u3-tgg3-cbb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.5.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"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-35955",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00364",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58724",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-35955"
        },
        {
            "reference_url": "https://contao.org/en/news/contao-4-9-16-and-4-11-5-are-available.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://contao.org/en/news/contao-4-9-16-and-4-11-5-are-available.html"
        },
        {
            "reference_url": "https://contao.org/en/security-advisories/cross-site-scripting-via-html-attributes-in-the-back-end.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://contao.org/en/security-advisories/cross-site-scripting-via-html-attributes-in-the-back-end.html"
        },
        {
            "reference_url": "https://github.com/contao/contao",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/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://nvd.nist.gov/vuln/detail/CVE-2021-35955",
            "reference_id": "CVE-2021-35955",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35955"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35955.yaml",
            "reference_id": "CVE-2021-35955.YAML",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-35955.yaml"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35955.yaml",
            "reference_id": "CVE-2021-35955.YAML",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-35955.yaml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hr3h-x6gq-rqcp",
            "reference_id": "GHSA-hr3h-x6gq-rqcp",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-hr3h-x6gq-rqcp"
        },
        {
            "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-hr3h-x6gq-rqcp",
            "reference_id": "GHSA-hr3h-x6gq-rqcp",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/contao/contao/security/advisories/GHSA-hr3h-x6gq-rqcp"
        }
    ],
    "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-82d1-8yn8-sydv"
}