CVE-2022-24891

MEDIUMNVD 5.45.4
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 5.4 under NVD CVSS v3. EPSS exploit probability: 1.6%, top 26% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Elevated
5.4
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 2%CVSS: 5.4Exploit: NoneExposed: 0

A fix is available — apply it.

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 v3
5.4
EG Score
5.4(medium)
EG Risk
EPSS
73.6%
KEV
Not listed

Published

April 27, 2022

Last Modified

November 3, 2025

Affected Packages

(1 across 1 ecosystem)
Maven(1)
PackageVulnerable rangeFixed inDependents
org.owasp.esapi:esapi2.0.1 ... 2.2.3.1 (16 versions)2.3.0.0

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Frequently asked(5)

What is CVE-2022-24891?
CVE-2022-24891 is a medium vulnerability published on April 27, 2022. 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…
When was CVE-2022-24891 disclosed?
CVE-2022-24891 was first published in the National Vulnerability Database on April 27, 2022, with the most recent update on November 3, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2022-24891 actively exploited?
CVE-2022-24891 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 73.6% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2022-24891?
CVE-2022-24891 has a CVSS v3 base score of 5.4 (NVD).
How do I remediate CVE-2022-24891?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2022-24891, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-24891

Explore →

Is Your Infrastructure Affected by CVE-2022-24891?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.