Loading advisory.
Loading advisory.
Cross-site Scripting in org.owasp.esapi:esapi
There is a potential for an XSS vulnerability in ESAPI caused by a incorrect regular expression for "onsiteURL" in the antisamy-esapi.xml configuration file that can cause URLs with the "javascript:" scheme to NOT be sanitized. See the reference below for full details.
Published 2022-04-27 00:00 UTC · Modified 2025-11-03 22:44 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.owasp.esapi:esapi | Maven | < 2.3.0.0 versions 2.0.1, 2.0GA, 2.0_rc10, 2.0_rc11, 2.0_rc9, 2.1.0, 2.1.0.1, 2.2.0.0, 2.2.0.0-RC2, 2.2.0.0-RC3, 2.2.1.0, 2.2.1.0-RC1, 2.2.1.1, 2.2.2.0, 2.2.3.0, 2.2.3.1 | 2.3.0.0 | No single command for Maven. Update to 2.3.0.0 in your build file. |
There is a potential for an XSS vulnerability in ESAPI caused by a incorrect regular expression for "onsiteURL" in the antisamy-esapi.xml configuration file that can cause URLs with the "javascript:" scheme to NOT be sanitized. See the reference below for full details.
Patched in ESAPI 2.3.0.0 and later. See important remediation details in the reference given below.
Manually edit your antisamy-esapi.xml configuration files to change the "onsiteURL" regular expression as per remediation instructions in the reference below.
If you have any questions or comments about this advisory:
Email one of the project co-leaders. See email addresses listed on the OWASP ESAPI wiki page, under "Leaders".
Send email to one of the two ESAPI related Google Groups listed under Where to Find More Information on ESAPI on our README.md page.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.017 on 2026-11-24 to 0.015 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.017 | first score | v2026.06.15 |
| 2026-11-26 | 0.015 | 0.017 | v2026.06.15 |