XSS in Esapi Esapi-Java-Legacy
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.017 (76.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: +0.000
Affected products
- Esapi Esapi-Java-Legacy — versions <= 2.2.3.1
- NetApp Active Iq Unified Manager
- NetApp Oncommand Workflow Automation
- Oracle Weblogic Server — versions 12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0
- Owasp Enterprise Security API
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2… (Release Notes)
- github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-q77q-vx4q-xx6q (Third Party Advisory)
- github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bu… (Exploit, Third Party Advisory, Mitigation)
- www.oracle.com/security-alerts/cpujul2022.html (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230127-0014/ (Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-24891?
- CVE-2022-24891 is a medium-severity vulnerability in Esapi Esapi-Java-Legacy, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-04-27.
- How severe is CVE-2022-24891?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2022-24891 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.