CVE-2022-24891CWE-79

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

Medium · published April 27, 2022

CVSS v3.1
5.4
EPSS
2%
Percentile
77.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.01715 · 77.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-04-27T00:00Z
EPSS history
Timeline
  • 27 APR 00:00Z
    Cross-site Scripting in org.owasp.esapi:esapi -- antisamy-esapi.xml configuration file
    cvelistv5