6.1

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

Modified
AliasesUBUNTU-CVE-2022-24891DEBIAN-CVE-2022-24891GHSA-q77q-vx4q-xx6q
Published 27-04-2022Last modified 03-11-2025

Vulnerability summary

CVE-2022-24891 is a medium (CVSS 6.1) vulnerability in esapi esapi-java-legacy. EPSS estimates a 1.71% chance of exploitation in the next 30 days, higher than 78.2% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
1.71%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 27-04-2022
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.71%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.71% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Esapi Java Legacy

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Netapp2 products
Debian1 product
  • libowasp-esapi-java< 2.4.0.0-1
Esapi1 product
Oracle1 product
Org.owasp.esapi1 product
  • esapi< 2.3.0.0
Owasp1 product
Ubuntu1 product
  • libowasp-esapi-java< 2.1.0-2ubuntu0.1~esm1 | < 2.1.0-3ubuntu0.18.04.1~esm1 | < 2.1.0-3ubuntu0.20.04.1~esm1 | < 2.2.3.1-1ubuntu0.1~esm1

7 vendors · 8 products

References

13 links
Show all 13 references