
Cloud Vulnerability DB
A community-led vulnerabilities database
The GHSA-r68h-jhhj-9jvm vulnerability affects the Validator.isValidSafeHTML method in ESAPI (Enterprise Security API) Java Legacy library for versions prior to 2.6.0.0. This vulnerability was published on November 24, 2023, and affects all versions of ESAPI dating back at least 15 years to ESAPI 1.3 release. The issue involves the method potentially returning false negatives, incorrectly identifying unsafe input as safe (GitHub Advisory).
The vulnerability lies in the Validator.isValidSafeHTML method's inability to correctly identify unsafe HTML input. The method can produce false negatives by returning true for input that could potentially lead to XSS vulnerabilities. The issue has been assigned a Moderate severity rating, though no specific CVSS score has been provided. The vulnerability is associated with CWE-79 and CWE-80, relating to cross-site scripting vulnerabilities (GitHub Advisory).
When exploited, this vulnerability can lead to Cross-Site Scripting (XSS) vulnerabilities in applications that rely on the Validator.isValidSafeHTML method to validate HTML input. The impact is significant as the method may incorrectly validate potentially malicious HTML content as safe, leading to security vulnerabilities in implementing applications (GitHub Advisory).
As there is no direct patch available for this vulnerability, the recommended workaround is to stop using the Validator.isValidSafeHTML method entirely. Users are advised to use Validator.getValidSafeHTML with the default antisamy-esapi.xml AntiSamy policy file instead, which is believed to be safe. The vulnerable method has been deprecated and removed in version 2.6.0.0 of the ESAPI jar (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."