CVE-2022-24891
MEDIUM 6.1CVSS 3.1Cross-site Scripting in org.owasp.esapi:esapi
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.
- Published
- 27 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-q77q-vx4q-xx6q
- Sources
- NVDJSONOSV GHSA-q77q-vx4q-xx6qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | owasp | enterprise_security_apicpe:2.3:a:owasp:enterprise_security_api:*:*:*:*:*:*:*:* |
< 2.3.0.0 | 2.3.0.0 |
| NVD | oracle | weblogic_servercpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | weblogic_servercpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:* |
= 12.2.1.4.0 | |
| NVD | oracle | weblogic_servercpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:* |
= 14.1.1.0.0 | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* |
(no version) | |
| NVD | netapp | oncommand_workflow_automationcpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Maven | org.owasp.esapi:esapi | < 2.3.0.0 | 2.3.0.0 |
References
- https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/ESAPI-security-bulletin8.pdf · Exploit, Mitigation, Third Party Advisory, WEB
- https://github.com/ESAPI/esapi-java-legacy/blob/develop/documentation/esapi4java-core-2.3.0.0-release-notes.txt · Release Notes, WEB
- https://github.com/ESAPI/esapi-java-legacy/security/advisories/GHSA-q77q-vx4q-xx6q · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230127-0014/ · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2025/07/msg00010.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24891 · ADVISORY
- https://github.com/ESAPI/esapi-java-legacy · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 27 Apr 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Apr 2022)