Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46378?format=api",
    "vulnerability_id": "VCID-r4d5-zcex-sbee",
    "summary": "Cross-site scripting\nSymfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in version 6.0.0 and prior to version 6.3.8, the error message in `WebhookController` returns unescaped user-submitted input. As of version 6.3.8, `WebhookController` now does not return any user-submitted input in its response.",
    "aliases": [
        {
            "alias": "CVE-2023-46735"
        },
        {
            "alias": "GHSA-72x2-5c85-6wmr"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67681?format=api",
            "purl": "pkg:composer/symfony/security-http@6.3.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@6.3.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67679?format=api",
            "purl": "pkg:composer/symfony/serializer@6.3.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@6.3.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67677?format=api",
            "purl": "pkg:composer/symfony/symfony@6.3.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@6.3.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67699?format=api",
            "purl": "pkg:composer/symfony/webhook@6.3.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/webhook@6.3.8"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67680?format=api",
            "purl": "pkg:composer/symfony/security-http@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4f9e-eg67-cqbr"
                },
                {
                    "vulnerability": "VCID-r4d5-zcex-sbee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/security-http@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67678?format=api",
            "purl": "pkg:composer/symfony/serializer@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4f9e-eg67-cqbr"
                },
                {
                    "vulnerability": "VCID-r4d5-zcex-sbee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67691?format=api",
            "purl": "pkg:composer/symfony/symfony@6.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r4d5-zcex-sbee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/symfony@6.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67698?format=api",
            "purl": "pkg:composer/symfony/webhook@6.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r4d5-zcex-sbee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/webhook@6.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/symfony/symfony",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/symfony/symfony"
        },
        {
            "reference_url": "https://github.com/symfony/symfony/commit/8128c302430394f639e818a7103b3f6815d8d962",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/symfony/symfony/commit/8128c302430394f639e818a7103b3f6815d8d962"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46735",
            "reference_id": "CVE-2023-46735",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46735"
        },
        {
            "reference_url": "https://symfony.com/cve-2023-46735",
            "reference_id": "CVE-2023-46735",
            "reference_type": "",
            "scores": [],
            "url": "https://symfony.com/cve-2023-46735"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46735.yaml",
            "reference_id": "CVE-2023-46735.YAML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2023-46735.yaml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-72x2-5c85-6wmr",
            "reference_id": "GHSA-72x2-5c85-6wmr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-72x2-5c85-6wmr"
        },
        {
            "reference_url": "https://github.com/symfony/symfony/security/advisories/GHSA-72x2-5c85-6wmr",
            "reference_id": "GHSA-72x2-5c85-6wmr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/symfony/symfony/security/advisories/GHSA-72x2-5c85-6wmr"
        }
    ],
    "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-r4d5-zcex-sbee"
}