Security mailing lists by PureSourceCode

CVE-2022-35923

HIGH 7.5CVSS 3.1

v8n vulnerable to Inefficient Regular Expression Complexity

v8n is a javascript validation library. Versions of v8n prior to 1.5.1 were found to have an inefficient regular expression complexity in the lowercase() and uppercase() regex which could lead to a denial of service attack. In testing of the lowercase() function a payload of 'a' + 'a'.repeat(i) + 'A' with 32 leading characters took 29443 ms to execute. The same issue happens with uppercase(). Users are advised to upgrade. There are no known workarounds for this issue.

Published
2 Aug 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-1333CWE-400
Also known as
GHSA-xrx9-gj26-5wx9
Sources
NVDJSONOSV GHSA-xrx9-gj26-5wx9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD v8n_project v8n
cpe:2.3:a:v8n_project:v8n:*:*:*:*:*:node.js:*:*
< 1.5.1 1.5.1
OSV npm v8n < 1.5.1 1.5.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 2 Aug 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.