SCA: security update for org.owasp.esapi:esapi (GHSA-q77q-vx4q-xx6q)

medium Tenable Self-Hosted Container Security Plugin ID 417957

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-24891)

See Also

https://github.com/advisories/GHSA-q77q-vx4q-xx6q

Plugin Details

Severity: Medium

ID: 417957

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2022-24891

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/27/2022

Vulnerability Publication Date: 4/27/2022

Reference Information

CVE: CVE-2022-24891

cwe: CWE-79