Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13992?format=api",
    "vulnerability_id": "VCID-zb5w-5thk-audh",
    "summary": "Cross-site Scripting\nMautic is vulnerable to an inline JS XSS attack when viewing Mautic assets by utilizing inline JS in the title and adding a broken image URL as a remote asset. This can only be leveraged by an authenticated user with permission to create or edit assets.",
    "aliases": [
        {
            "alias": "CVE-2021-27912"
        },
        {
            "alias": "GHSA-rh5w-82wh-jhr8"
        }
    ],
    "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-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/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-x16f-ftqk-n3e2"
                },
                {
                    "vulnerability": "VCID-zb5w-5thk-audh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mautic/core@4.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27912",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0069",
                    "scoring_system": "epss",
                    "scoring_elements": "0.72115",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27912"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27912.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/mautic/core/CVE-2021-27912.yaml"
        },
        {
            "reference_url": "https://github.com/mautic/mautic",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mautic/mautic"
        },
        {
            "reference_url": "https://github.com/mautic/mautic/security/advisories/GHSA-rh5w-82wh-jhr8",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mautic/mautic/security/advisories/GHSA-rh5w-82wh-jhr8"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27912",
            "reference_id": "CVE-2021-27912",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27912"
        }
    ],
    "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-zb5w-5thk-audh"
}