CVE catalog

CVE-2022-24891

ESAPI vulnerabilities

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.71% · Oct 25, 2026

ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library. Prior to version 2.3.0.0, there is a potential for a cross-site scripting vulnerability in ESAPI caused by a incorrect regular expression for "onsiteURL" in the **antisamy-esapi.xml** configuration file that can cause "javascript:" URLs to fail to be correctly sanitized. This issue is patched in ESAPI 2.3.0.0. As a workaround, manually edit the **antisamy-esapi.xml** configuration files to change the "onsiteURL" regular expression. More information about remediation of the vulnerability, including the workaround, is available in the maintainers' release notes and security bulletin.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibowasp-esapi-javasid2.4.0.0-3fixed
Debianlibowasp-esapi-javatrixie2.4.0.0-2.1fixed
Debianlibowasp-esapi-javabookworm2.4.0.0-2fixed
Ubuntulibowasp-esapi-javanoble2.4.0.0-2ubuntu0.1fixed
Ubuntulibowasp-esapi-javapro2.1.0-3.1vulnerable
Ubuntulibowasp-esapi-javapro2.2.3.1-1vulnerable
Ubuntulibowasp-esapi-javapro2.2.3.1-1ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibowasp-esapi-javasourcesid2.4.0.0-1not yet assignedNot reported[1010339]
Debianlibowasp-esapi-javasourcetrixie2.4.0.0-1not yet assignedNot reported[1010339]
Debianlibowasp-esapi-javasourcebookworm2.4.0.0-1not yet assignedNot reported[1010339]
Ubuntulibowasp-esapi-javadebnoble2.4.0.0-2ubuntu0.1Not reportedNot reportedNot reported
Ubuntulibowasp-esapi-javadebpro2.2.3.1-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2022-24891Not reported

[Debian bug #1010339]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.4.0.0-2 · all · bookworm

      Fixed · Fixed: 2.4.0.0-1

      usn · libowasp-esapi-java · debian · bookworm

    • 2.4.0.0-2 · all · bookworm

      Fixed · Fixed: 2.4.0.0-1

      usn · libowasp-esapi-java · debian · bookworm

Observed:

References