PoC Index85,101 CVEs with PoCs

CVE-2022-24891

Cross-site Scripting in org.owasp.esapi:esapi -- antisamy-esapi.xml configuration file

MEDIUM 6.1EPSS 1.7%

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.

Affected
ESAPI · esapi-java-legacy
CVSS v3.1 NVD
6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v3.1 GITHUB
5.4 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v2.0 NVD
4.3 MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS
1.71% chance of exploitation in the next 30 days, 77th percentile
Published
2022-04-27
Updated
2025-11-03

Proof-of-concept exploits (1)

Security advisories

References