ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-24891

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSlibowasp-esapi-java
All versions before 2.1.0-2ubuntu0.1~esm1 (fixed in 2.1.0-2ubuntu0.1~esm1)
Ubuntu:Pro:18.04:LTSlibowasp-esapi-java
All versions before 2.1.0-3ubuntu0.18.04.1~esm1 (fixed in 2.1.0-3ubuntu0.18.04.1~esm1)
Ubuntu:Pro:20.04:LTSlibowasp-esapi-java
All versions before 2.1.0-3ubuntu0.20.04.1~esm1 (fixed in 2.1.0-3ubuntu0.20.04.1~esm1)
Ubuntu:Pro:22.04:LTSlibowasp-esapi-java
All versions before 2.2.3.1-1ubuntu0.1~esm1 (fixed in 2.2.3.1-1ubuntu0.1~esm1)

References