Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13989?format=api",
    "vulnerability_id": "VCID-xfj5-74f4-ryfk",
    "summary": "Cross-site Scripting\nInsufficient sanitization / filtering allows for arbitrary JavaScript Injection in Mautic using the bounce management callback function. An attacker with access to the bounce management callback function (identified with the Mailjet webhook, but it is assumed this will work uniformly across all kinds of webhooks) can inject arbitrary JavaScript Code into the `error` and `error_related_to` parameters of the POST request (`POST /mailer/<product / webhook>/callback`). It is noted that there is no authentication needed to access this function. The JavaScript Code is stored permanently in the web application and executed every time an authenticated user views the details page of a single contact / lead in Mautic. This means, arbitrary code can be executed to, e.g., steal or tamper with information.",
    "aliases": [
        {
            "alias": "CVE-2021-27910"
        },
        {
            "alias": "GHSA-86pv-95mj-7w5f"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57804?format=api",
            "purl": "pkg:composer/mautic/core@3.3.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mautic/core@3.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57803?format=api",
            "purl": "pkg:composer/mautic/core@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1kzz-9ysf-u3d2"
                },
                {
                    "vulnerability": "VCID-h55b-gu47-4kfw"
                },
                {
                    "vulnerability": "VCID-rtzh-qevh-r7ae"
                },
                {
                    "vulnerability": "VCID-x16f-ftqk-n3e2"
                },
                {
                    "vulnerability": "VCID-zb5w-5thk-audh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mautic/core@4.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57805?format=api",
            "purl": "pkg:composer/mautic/core@4.0.0-alpha1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sna2-5k9z-ayd9"
                },
                {
                    "vulnerability": "VCID-x24q-c9vj-yucx"
                },
                {
                    "vulnerability": "VCID-xfj5-74f4-ryfk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mautic/core@4.0.0-alpha1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27910",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00435",
                    "scoring_system": "epss",
                    "scoring_elements": "0.63171",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27910"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27910.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27910.yaml"
        },
        {
            "reference_url": "https://github.com/mautic/mautic",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mautic/mautic"
        },
        {
            "reference_url": "https://github.com/mautic/mautic/commit/e6a405975342f3cf86aa71927618d31d25135fa3",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mautic/mautic/commit/e6a405975342f3cf86aa71927618d31d25135fa3"
        },
        {
            "reference_url": "https://github.com/mautic/mautic/security/advisories/GHSA-86pv-95mj-7w5f",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mautic/mautic/security/advisories/GHSA-86pv-95mj-7w5f"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27910",
            "reference_id": "CVE-2021-27910",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27910"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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": 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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xfj5-74f4-ryfk"
}