Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46991?format=api",
    "vulnerability_id": "VCID-txnd-sm12-qfdj",
    "summary": "Improper Input Validation\nConcrete CMS in version 9 before 9.2.5 is vulnerable to reflected XSS via the Image URL Import Feature due to insufficient validation of administrator provided data. A rogue administrator could inject malicious code when importing images, leading to the execution of the malicious code on the website user’s browser. The Concrete CMS Security team scored this 2 with CVSS v3 vector AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N. This does not affect Concrete versions prior to version 9.",
    "aliases": [
        {
            "alias": "CVE-2024-1246"
        },
        {
            "alias": "GHSA-9v3w-cj7m-qh5g"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68845?format=api",
            "purl": "pkg:composer/concrete5/concrete5@9.2.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/concrete5/concrete5@9.2.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68844?format=api",
            "purl": "pkg:composer/concrete5/concrete5@9.0.0-RC1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1ptm-ydqz-gybk"
                },
                {
                    "vulnerability": "VCID-3ejn-3ds7-u7g8"
                },
                {
                    "vulnerability": "VCID-3z92-cd94-cfdt"
                },
                {
                    "vulnerability": "VCID-4e63-f1w1-rudp"
                },
                {
                    "vulnerability": "VCID-av2c-h349-tkae"
                },
                {
                    "vulnerability": "VCID-tsf3-f23x-uybj"
                },
                {
                    "vulnerability": "VCID-txnd-sm12-qfdj"
                },
                {
                    "vulnerability": "VCID-x7qc-tw7s-tugy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/concrete5/concrete5@9.0.0-RC1"
        }
    ],
    "references": [
        {
            "reference_url": "https://documentation.concretecms.org/9-x/developers/introduction/version-history/925-release-notes",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://documentation.concretecms.org/9-x/developers/introduction/version-history/925-release-notes"
        },
        {
            "reference_url": "https://github.com/concretecms/concretecms/commit/59a07472ad6349a2c5fb455837a54ed1fe3f6953",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/concretecms/concretecms/commit/59a07472ad6349a2c5fb455837a54ed1fe3f6953"
        },
        {
            "reference_url": "https://www.concretecms.org/about/project-news/security/2024-02-04-security-advisory",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.concretecms.org/about/project-news/security/2024-02-04-security-advisory"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1246",
            "reference_id": "CVE-2024-1246",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1246"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9v3w-cj7m-qh5g",
            "reference_id": "GHSA-9v3w-cj7m-qh5g",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-9v3w-cj7m-qh5g"
        }
    ],
    "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": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-txnd-sm12-qfdj"
}