6.1

CVE-2022-24891: esapi esapi-java-legacy Cross-site Scripting

CVSS: 6.1v3.1MediumModified
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) Cross-site Scripting vulnerability in esapi esapi-java-legacy. EPSS estimates a 1.71% chance of exploitation in the next 30 days, higher than 77% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
1.71%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · 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

77%

Versus all other CVEs

30-day change

0.00 pp

From 1.71% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.71%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Esapi Java Legacy

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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