Vulnerability DatabaseGHSA-xx4c-jj58-r7x6

GHSA-xx4c-jj58-r7x6
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-xx4c-jj58-r7x6) affects Validator.js versions 11.1.0 to 13.6.0, discovered and disclosed in 2021. It involves an inefficient Regular Expression complexity vulnerability specifically in the rtrim and trim sanitizers. The issue was identified by security researcher yetingli and was assigned a moderate severity rating with a CVSS score of 5.3 (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-1333 (Inefficient Regular Expression Complexity) and received a CVSS v3.0 base score of 5.3 (Moderate). The attack vector is Network-based, with low attack complexity, requiring no privileges or user interaction. The scope is unchanged, with no impact on confidentiality or integrity, but low impact on availability (NVD).

Impact

The vulnerability could lead to Regular Expression Denial of Service (ReDoS) when using the rtrim and trim sanitizers, potentially affecting the availability of systems implementing the vulnerable versions of validator.js (GitHub Issue).

Mitigation and workarounds

The vulnerability was patched in validator.js version 13.7.0. The fix involved removing the regex-based implementation and replacing it with a faster and safer trim method inspired by Steven Levithan's approach (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management