{"cve":"CVE-2022-24891","nvd":{"published":"2022-04-27T21:15:08.523","modified":"2026-06-17T04:32:44.617","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin8.pdf","https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt","https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-q77q-vx4q-xx6q","https://security.netapp.com/advisory/ntap-20230127-0014/","https://www.oracle.com/security-alerts/cpujul2022.html"],"products":["netapp:active_iq_unified_manager","netapp:oncommand_workflow_automation","oracle:weblogic_server","owasp:enterprise_security_api"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-24891","score":0.01715,"percentile":0.77409,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q77q-vx4q-xx6q","url":"https://osv.dev/vulnerability/GHSA-q77q-vx4q-xx6q","summary":"Cross-site Scripting in org.owasp.esapi:esapi","modified":"2025-11-03T22:44:12.880093Z","packages":[{"ecosystem":"Maven","name":"org.owasp.esapi:esapi","purl":"pkg:maven/org.owasp.esapi/esapi","ranges":["<2.3.0.0"],"fixed":["2.3.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}