# CVE-2022-24891: libowasp-esapi-java: ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library

CVE-2022-24891 is fixed in libowasp-esapi-java on 1 platform, first by DEBIAN-CVE-2022-24891, released April 27, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-24891
- Priority: Routine
- CVSS: 6.1 (Medium)
- EPSS: 0.0172
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 27, 2022

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libowasp-esapi-java Debian 12.15 (bookworm) | 2.4.0.0-1 | [DEBIAN-CVE-2022-24891](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24891.md) | Apr 27, 2022 |
| Linux | libowasp-esapi-java Debian 13.5 (trixie) | 2.4.0.0-1 | [DEBIAN-CVE-2022-24891](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24891.md) | Apr 27, 2022 |
| Linux | libowasp-esapi-java Ubuntu 18.04.6 LTS (bionic) | 2.1.0-3ubuntu0.18.04.1~esm1 | [libowasp-esapi-java 2.1.0-3ubuntu0.18.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libowasp-esapi-java-2.1.0-3ubuntu0.18.04.1-esm1.md) | Jun 29, 2025 |
| Linux | libowasp-esapi-java Ubuntu 20.04 LTS (focal) | 2.1.0-3ubuntu0.20.04.1~esm1 | [libowasp-esapi-java 2.1.0-3ubuntu0.20.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libowasp-esapi-java-2.1.0-3ubuntu0.20.04.1-esm1.md) | Jun 29, 2025 |
| Linux | libowasp-esapi-java Ubuntu 22.04.1 LTS (jammy) | 2.2.3.1-1ubuntu0.1~esm1 | [libowasp-esapi-java 2.2.3.1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libowasp-esapi-java-2.2.3.1-1ubuntu0.1-esm1.md) | Jun 29, 2025 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
