CVE-2022-24891

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductOwasp Enterprise Security Api
PublishedApr 27, 2022
First seenApr 27, 2022

How to fix

Update
  • owasp enterprise_security_api2.3.0.0 or later
  • org.owasp.esapi:esapi2.3.0.0 or later

Affected products

ProductAffected versionsFixed in
owasp enterprise_security_apiv < 2.3.0.02.3.0.0
oracle weblogic_server12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0—
netapp active_iq_unified_managerNo range specified—
netapp oncommand_workflow_automationNo range specified—
org.owasp.esapi:esapiMavenv < 2.3.0.02.3.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.