Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12788?format=api",
    "vulnerability_id": "VCID-yxrz-ypx2-q7hh",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nXWiki is a generic wiki platform offering runtime services for applications built on top of it. When using default XWiki configuration, it's possible for an attacker to upload an SVG containing a script executed when executing the download action on the file. This problem has been patched so that the default configuration does not allow to display the SVG files in the browser. Users are advised to update or to disallow uploads of SVG files.",
    "aliases": [
        {
            "alias": "CVE-2021-43841"
        },
        {
            "alias": "GHSA-9jq9-c2cv-pcrj"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45236?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@12.10.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@12.10.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45211?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.3RC1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.3RC1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45848?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources@12.10.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources@12.10.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45849?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources@13.3RC1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources@13.3RC1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45233?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6xht-gkrh-v7fg"
                },
                {
                    "vulnerability": "VCID-yxrz-ypx2-q7hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45209?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-115a-j3ec-fkas"
                },
                {
                    "vulnerability": "VCID-yxrz-ypx2-q7hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@13.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45846?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources@13.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-yxrz-ypx2-q7hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources@13.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45847?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources@13.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-yxrz-ypx2-q7hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-tool-configuration-resources@13.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-43841",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64245",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64369",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64357",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64322",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64351",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64362",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6435",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6433",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64302",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64335",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00464",
                    "scoring_system": "epss",
                    "scoring_elements": "0.64287",
                    "published_at": "2026-04-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-43841"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:33Z/"
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/commit/5853d492b3a274db0d94d560e2a5ea988a271c62"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-18368",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:33Z/"
                }
            ],
            "url": "https://jira.xwiki.org/browse/XWIKI-18368"
        },
        {
            "reference_url": "https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:33Z/"
                }
            ],
            "url": "https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments#HAttachmentdisplayordownload"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43841",
            "reference_id": "CVE-2021-43841",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43841"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9jq9-c2cv-pcrj",
            "reference_id": "GHSA-9jq9-c2cv-pcrj",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-9jq9-c2cv-pcrj"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrj",
            "reference_id": "GHSA-9jq9-c2cv-pcrj",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N"
                },
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-22T15:51:33Z/"
                }
            ],
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9jq9-c2cv-pcrj"
        }
    ],
    "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": 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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yxrz-ypx2-q7hh"
}