Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15627?format=api",
    "vulnerability_id": "VCID-vjjh-ajqh-kffb",
    "summary": "Cross-site Scripting in org.owasp.esapi:esapi\nThere is a potential for an XSS vulnerability in ESAPI caused by a incorrect regular expression for \"onsiteURL\" in the **antisamy-esapi.xml** configuration file that can cause URLs with the \"javascript:\" scheme to NOT be sanitized. See the reference below for full details.",
    "aliases": [
        {
            "alias": "CVE-2022-24891"
        },
        {
            "alias": "GHSA-q77q-vx4q-xx6q"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/184891?format=api",
            "purl": "pkg:deb/debian/libowasp-esapi-java@2.1.0-3.1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libowasp-esapi-java@2.1.0-3.1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/184892?format=api",
            "purl": "pkg:deb/debian/libowasp-esapi-java@2.4.0.0-0%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libowasp-esapi-java@2.4.0.0-0%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/184890?format=api",
            "purl": "pkg:deb/debian/libowasp-esapi-java@2.4.0.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libowasp-esapi-java@2.4.0.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/184889?format=api",
            "purl": "pkg:deb/debian/libowasp-esapi-java@2.4.0.0-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a9e6-vsac-eqat"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libowasp-esapi-java@2.4.0.0-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/184893?format=api",
            "purl": "pkg:deb/debian/libowasp-esapi-java@2.4.0.0-2.1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a9e6-vsac-eqat"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libowasp-esapi-java@2.4.0.0-2.1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60540?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.3.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.3.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/87891?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.0_rc10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3ywe-fsdx-mkgq"
                },
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-f7ms-x86j-xyej"
                },
                {
                    "vulnerability": "VCID-pmcw-91mf-5kf2"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.0_rc10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/87892?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.0_rc11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3ywe-fsdx-mkgq"
                },
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-f7ms-x86j-xyej"
                },
                {
                    "vulnerability": "VCID-pmcw-91mf-5kf2"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.0_rc11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/87890?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.0_rc9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3ywe-fsdx-mkgq"
                },
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-f7ms-x86j-xyej"
                },
                {
                    "vulnerability": "VCID-pmcw-91mf-5kf2"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.0_rc9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/528956?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/528954?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.0.0-RC2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.0.0-RC2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/528955?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.0.0-RC3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.0.0-RC3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/528958?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/528957?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.1.0-RC1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.1.0-RC1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/528959?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/528960?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/528961?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57674?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.0GA",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3ywe-fsdx-mkgq"
                },
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-f7ms-x86j-xyej"
                },
                {
                    "vulnerability": "VCID-pmcw-91mf-5kf2"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.0GA"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/50527?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3ywe-fsdx-mkgq"
                },
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-f7ms-x86j-xyej"
                },
                {
                    "vulnerability": "VCID-pmcw-91mf-5kf2"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/50524?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-f7ms-x86j-xyej"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/50525?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76699?format=api",
            "purl": "pkg:maven/org.owasp.esapi/esapi@2.2.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7fzb-kbs3-ffdm"
                },
                {
                    "vulnerability": "VCID-vjjh-ajqh-kffb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.owasp.esapi/esapi@2.2.3.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24891",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01032",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77648",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24891"
        },
        {
            "reference_url": "https://github.com/ESAPI/esapi-java-legacy",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ESAPI/esapi-java-legacy"
        },
        {
            "reference_url": "https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt"
        },
        {
            "reference_url": "https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin8.pdf",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin8.pdf"
        },
        {
            "reference_url": "https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20230127-0014",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20230127-0014"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpujul2022.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.oracle.com/security-alerts/cpujul2022.html"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010339",
            "reference_id": "1010339",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010339"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24891",
            "reference_id": "CVE-2022-24891",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24891"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-q77q-vx4q-xx6q",
            "reference_id": "GHSA-q77q-vx4q-xx6q",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-q77q-vx4q-xx6q"
        },
        {
            "reference_url": "https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-q77q-vx4q-xx6q",
            "reference_id": "GHSA-q77q-vx4q-xx6q",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/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": ""
                }
            ],
            "url": "https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-q77q-vx4q-xx6q"
        },
        {
            "reference_url": "https://usn.ubuntu.com/8181-1/",
            "reference_id": "USN-8181-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/8181-1/"
        }
    ],
    "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vjjh-ajqh-kffb"
}