ADVISORIES

Vulnerability

CVE-2022-24891

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.

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2Ubuntu 2Maven 1

Advisories

  • DEBIAN-CVE-2022-24891

    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…

    CVE-2022-24891 Debian Updated 20 November 2026
  • DLA-4246-1

    libowasp-esapi-java - security update

    CVE-2022-23457CVE-2022-24891CVE-2025-5878 Debian Updated 20 November 2026
  • GHSA-q77q-vx4q-xx6q

    Cross-site Scripting in org.owasp.esapi:esapi

    Moderate CVE-2022-24891 Maven Updated 3 November 2025
  • UBUNTU-CVE-2022-24891

    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…

    CVE-2022-24891 Ubuntu Updated 17 April 2026
  • USN-8181-1

    libowasp-esapi-java vulnerabilities

    Ubuntu Updated 25 June 2026

References