Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49658?format=api",
    "vulnerability_id": "VCID-8cmt-z8g9-duf2",
    "summary": "Apache Struts 2 is Missing XML Validation\nMissing XML Validation vulnerability in Apache Struts, Apache Struts.\n\nThis issue affects Apache Struts: from 2.0.0 before 2.2.1; Apache Struts: from 2.2.1 through 6.1.0.\n\nUsers are recommended to upgrade to version 6.1.1, which fixes the issue.",
    "aliases": [
        {
            "alias": "CVE-2025-68493"
        },
        {
            "alias": "GHSA-qcfc-hmrc-59x7"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73310?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@6.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@6.1.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73312?format=api",
            "purl": "pkg:maven/com.opensymphony/xwork@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.opensymphony/xwork@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52634?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bjt-18pc-vfe8"
                },
                {
                    "vulnerability": "VCID-4bzw-ges2-d7ek"
                },
                {
                    "vulnerability": "VCID-7hxh-btrk-skhg"
                },
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                },
                {
                    "vulnerability": "VCID-9mn7-d2mm-uqay"
                },
                {
                    "vulnerability": "VCID-dbzr-zyeu-73g8"
                },
                {
                    "vulnerability": "VCID-gvwn-8r4r-47gm"
                },
                {
                    "vulnerability": "VCID-mvdz-exud-3ybz"
                },
                {
                    "vulnerability": "VCID-nztp-y8p8-cqc6"
                },
                {
                    "vulnerability": "VCID-q2ad-khtm-nqdr"
                },
                {
                    "vulnerability": "VCID-z1jy-4da2-tyhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73309?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.3.37",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.3.37"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56819?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                },
                {
                    "vulnerability": "VCID-cv6j-98vx-n3ed"
                },
                {
                    "vulnerability": "VCID-vztu-pap6-37ev"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68080?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@2.5.33",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@2.5.33"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65475?format=api",
            "purl": "pkg:maven/org.apache.struts/struts2-core@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                },
                {
                    "vulnerability": "VCID-mvdz-exud-3ybz"
                },
                {
                    "vulnerability": "VCID-renj-v5ce-2khx"
                },
                {
                    "vulnerability": "VCID-wzez-6cmp-n7gn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts/struts2-core@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73311?format=api",
            "purl": "pkg:maven/org.apache.struts.xwork/xwork-core@2.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8cmt-z8g9-duf2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.struts.xwork/xwork-core@2.2.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://cwiki.apache.org/confluence/display/WW/S2-069",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cwiki.apache.org/confluence/display/WW/S2-069"
        },
        {
            "reference_url": "https://github.com/apache/struts",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/struts"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68493",
            "reference_id": "CVE-2025-68493",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68493"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-qcfc-hmrc-59x7",
            "reference_id": "GHSA-qcfc-hmrc-59x7",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-qcfc-hmrc-59x7"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 112,
            "name": "Missing XML Validation",
            "description": "The product accepts XML from an untrusted source but does not validate the XML against the proper schema."
        },
        {
            "cwe_id": 611,
            "name": "Improper Restriction of XML External Entity Reference",
            "description": "The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output."
        },
        {
            "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-8cmt-z8g9-duf2"
}