Vulnerability library
Security checkJanuary 31, 2026

Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements

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

High severitynpmvalidator

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Versions of the package validator before 13.15.22 are vulnerable to Incomplete Filtering of One or More Instances of Special Elements in the isLength() function that does not take into account Unicode variation selectors (\uFE0F, \uFE0E) appearing in a sequence which lead to improper string length calculation.

Recommendation

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

  • Affected version(s): < 13.15.22
  • Patched version(s): 13.15.22

References

Could your website be exposed too?

SmartScanner can check your website for Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 31, 2026