Vulnerability library
Security checkMay 20, 2026

seroval affected by Denial of Service via RegExp serialization

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmseroval

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Overriding RegExp serialization with extremely large patterns can exhaust JavaScript runtime memory during deserialization. Additionally, overriding RegExp serialization with patterns that trigger catastrophic backtracking can lead to ReDoS (Regular Expression Denial of Service).

Recommendation

Update the seroval package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 0.2.0, <= 1.4.0
  • Patched version(s): 1.4.1

References

Could your website be exposed too?

SmartScanner can check your website for seroval affected by Denial of Service via RegExp serialization and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 20, 2026