Every CVESearch/Get API key

GHSA-xx4c-jj58-r7x6

Inefficient Regular Expression Complexity in Validator.js

5.3 MediumFix available

GHSA-xx4c-jj58-r7x6 is a medium vulnerability (CVSS 5.3) in validator, published November 19, 2021. No source lists public exploit code. Fixed in validator 13.7.0.

What does this mean?
Severity
5.3 MediumCVSS 3.0, GitHub Advisories
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
13.7.0validator +2 more

Description

Impact

Versions of validator prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using the rtrim and trim sanitizers.

Patches

The problem has been patched in validator 13.7.0

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Affected packages

Affected packages
PackageAffectedFixed
validator
npm
11.1.0 up to 13.7.0
13.7.0
validator
Root:npm
before 13.7.0-aikido.1
13.7.0-aikido.1
@rootio/validator
Root:npm
before 13.7.0-root.io.1
13.7.0-root.io.1

What each source reports

GitHub Advisories Score used5.3

Inefficient Regular Expression Complexity in Validator.js

Impact

Versions of validator prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using the rtrim and trim sanitizers.

Patches

The problem has been patched in validator 13.7.0

Record
GHSA-xx4c-jj58-r7x6
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-1333
Updated
2026-11-02
OSV5.3

Inefficient Regular Expression Complexity in Validator.js

Impact

Versions of validator prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using the rtrim and trim sanitizers.

Patches

The problem has been patched in validator 13.7.0

Record
GHSA-xx4c-jj58-r7x6
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-1333
Updated
2026-11-02
OSVROOT-APP-NPM-GHSA-xx4c-jj58-r7x6No score

GHSA-xx4c-jj58-r7x6 in validator - Patched by Root

Root has patched GHSA-xx4c-jj58-r7x6 in the validator package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-GHSA-xx4c-jj58-r7x6
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open