owasp enterprise-security-api CVE-2022-24891 vulnerability in OWASP and Other Products
Published on April 27, 2022

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

product logo product logo product logo
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.

Github Repository NVD

Vulnerability Analysis

CVE-2022-24891 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2022-24891. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
REQUIRED
Scope:
UNCHANGED
Confidentiality Impact:
LOW
Integrity Impact:
LOW
Availability Impact:
NONE

Weakness Type

What is a XSS Vulnerability?

The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

CVE-2022-24891 has been classified to as a XSS vulnerability or weakness.


Products Associated with CVE-2022-24891

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-24891 are published in these products:

 
 
 
 

Affected Versions

esapi-java-legacy Version <= 2.2.3.1 is affected by CVE-2022-24891

Vulnerable Packages

The following package name and versions may be associated with CVE-2022-24891

Package Manager Vulnerable Package Versions Fixed In
maven org.owasp.esapi:esapi <= 2.2.3.1 2.3.0.0

Exploit Probability

EPSS
1.04%
Percentile
77.15%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.