🛡️ CVE-2022-24891 on Debian — libowasp-esapi-java
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.
Distribution advisory
This page covers CVE-2022-24891 as tracked by Debian, for the package libowasp-esapi-java. The fix is available in version 2.4.0.0-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.
Weakness class
DEBIAN-CVE-2022-24891 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.
Affected software
DEBIAN-CVE-2022-24891 is recorded against 1 package.
- libowasp-esapi-java (fixed in 2.4.0.0-1)
Timeline and source
Published on 27 April 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-24891 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libowasp-esapi-java | — | 2.4.0.0-1 |
References
Similar Threats
- Unknown USN-8181-1
- Unknown DLA-4246-1
- Unknown DEBIAN-CVE-2025-5878
- Unknown UBUNTU-CVE-2025-5878
- Unknown UBUNTU-CVE-2022-24891
Vulnerability Monitoring
Track new vulnerabilities in libowasp-esapi-java
DEBIAN-CVE-2022-24891 is rated CVSS 5.4 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.