# validator moderate severity vulnerability

Source: https://junglewise.ai/threats/validator-moderate-severity-vulnerability-d45d43ae  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-10-24. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

Severity: info · Published 2017-10-24

The validator npm package contains a moderate severity vulnerability affecting versions prior to 2.0.0. This advisory has been withdrawn as a duplicate of another advisory, indicating the issue was already tracked under a separate report. Organizations using older versions of this library should upgrade to version 2.0.0 or later.

Technologies: [validator (npm)](https://junglewise.ai/threats/technologies/npm-validator). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 24 October 2017.

**Which products and versions are affected?** validator (npm) SEMVER:introduced=0,fixed=2.0.0.

**Is there a fix for This vulnerability?** Yes. validator (npm): upgrade to 2.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run validator (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- validator (npm): upgrade to 2.0.0 or later

  ```sh
  npm install validator@2.0.0
  ```


## Technical details

This vulnerability was reported against the validator npm package, a data validation library. The advisory was withdrawn on 2020-06-17 as a duplicate of GHSA-79mx-88w7-8f7q, indicating the issue was already tracked under that separate advisory identifier. The affected versions are all releases prior to version 2.0.0. No CVE assignment was made for this duplicate advisory. Detailed technical information is not available in this withdrawn advisory; refer to the original advisory GHSA-79mx-88w7-8f7q for full vulnerability details and remediation guidance.

## Affected products

- npm validator < 2.0.0

## Timeline

- 2017-10-24: disclosed
- 2020-06-17: withdrawn: Duplicate of GHSA-79mx-88w7-8f7q

## Related threats

- [validator.js improper length calculation in isLength function](https://junglewise.ai/threats/cve-2025-12758-validator-js-improper-length-calculation-in-islength-function)
- [validatorjs validator.js URL validation bypass in isURL](https://junglewise.ai/threats/cve-2025-56200-validatorjs-validator-js-url-validation-bypass-in-isurl)
- [Validator.js ReDoS in trim and rtrim sanitizers](https://junglewise.ai/threats/validator-js-redos-in-trim-and-rtrim-sanitizers-3960a1b8)
- [validator.js inefficient regular expression complexity](https://junglewise.ai/threats/cve-2021-3765-validator-js-inefficient-regular-expression-complexity)
- [validator.js regular expression denial of service](https://junglewise.ai/threats/cve-2014-8882-validator-js-regular-expression-denial-of-service)
