Skip to content

express-validator-6.15.0.tgz: 5 vulnerabilities (highest severity is: 8.1) #123

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - express-validator-6.15.0.tgz

Path to dependency file: /SmartDappsBuilder/backend/package.json

Path to vulnerable library: /SmartDappsBuilder/backend/node_modules/validator/package.json

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (express-validator version) Remediation Possible**
CVE-2026-4800 High 8.1 lodash-4.17.21.tgz Transitive N/A*
CVE-2025-12758 High 7.5 validator-13.12.0.tgz Transitive 7.0.0
CVE-2025-13465 High 7.2 lodash-4.17.21.tgz Transitive N/A*
CVE-2026-2950 Medium 6.5 lodash-4.17.21.tgz Transitive 7.0.0
CVE-2025-56200 Medium 6.1 validator-13.12.0.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-4800

Vulnerable Library - lodash-4.17.21.tgz

Lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz

Path to dependency file: /SmartDappsBuilder/frontend/package.json

Path to vulnerable library: /SmartDappsBuilder/frontend/node_modules/lodash/package.json,/SmartDappsBuilder/backend/node_modules/lodash/package.json

Dependency Hierarchy:

  • express-validator-6.15.0.tgz (Root Library)
    • lodash-4.17.21.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Impact:
The fix for CVE-2021-23337 (GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink.
When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time.
Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function().
Patches:
Users should upgrade to version 4.18.0.
Workarounds:
Do not pass untrusted input as key names in options.imports. Only use developer-controlled, static key names.

Publish Date: 2026-03-31

URL: CVE-2026-4800

CVSS 3 Score Details (8.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-r5fr-rjxr-66jc

Release Date: 2026-03-31

Fix Resolution: lodash-amd - 4.18.0,lodash.template - 4.18.0,lodash-es - 4.18.0,lodash - 4.18.0

Step up your Open Source Security Game with Mend here

CVE-2025-12758

Vulnerable Library - validator-13.12.0.tgz

Library home page: https://registry.npmjs.org/validator/-/validator-13.12.0.tgz

Path to dependency file: /SmartDappsBuilder/backend/package.json

Path to vulnerable library: /SmartDappsBuilder/backend/node_modules/validator/package.json

Dependency Hierarchy:

  • express-validator-6.15.0.tgz (Root Library)
    • validator-13.12.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

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. This can lead to an application using isLength for input validation accepting strings significantly longer than intended, resulting in issues like data truncation in databases, buffer overflows in other system components, or denial-of-service.

Publish Date: 2025-11-27

URL: CVE-2025-12758

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-11-27

Fix Resolution (validator): 13.15.22

Direct dependency fix Resolution (express-validator): 7.0.0

Step up your Open Source Security Game with Mend here

CVE-2025-13465

Vulnerable Library - lodash-4.17.21.tgz

Lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz

Path to dependency file: /SmartDappsBuilder/frontend/package.json

Path to vulnerable library: /SmartDappsBuilder/frontend/node_modules/lodash/package.json,/SmartDappsBuilder/backend/node_modules/lodash/package.json

Dependency Hierarchy:

  • express-validator-6.15.0.tgz (Root Library)
    • lodash-4.17.21.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Lodash versions 4.0.0 through 4.17.22 are vulnerable to prototype pollution in the _.unset and _.omit functions. An attacker can pass crafted paths which cause Lodash to delete methods from global prototypes.
The issue permits deletion of properties but does not allow overwriting their original behavior.
This issue is patched on 4.17.23

Publish Date: 2026-01-21

URL: CVE-2025-13465

CVSS 3 Score Details (7.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-xxjr-mmjv-4gpg

Release Date: 2026-01-21

Fix Resolution: lodash-amd - 4.17.23,lodash - 4.17.23,lodash-es - 4.17.23

Step up your Open Source Security Game with Mend here

CVE-2026-2950

Vulnerable Library - lodash-4.17.21.tgz

Lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz

Path to dependency file: /SmartDappsBuilder/frontend/package.json

Path to vulnerable library: /SmartDappsBuilder/frontend/node_modules/lodash/package.json,/SmartDappsBuilder/backend/node_modules/lodash/package.json

Dependency Hierarchy:

  • express-validator-6.15.0.tgz (Root Library)
    • lodash-4.17.21.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Impact:
Lodash versions 4.17.23 and earlier are vulnerable to prototype pollution in the _.unset and _.omit functions. The fix for (CVE-2025-13465: GHSA-xxjr-mmjv-4gpg) only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype.
The issue permits deletion of prototype properties but does not allow overwriting their original behavior.
Patches:
This issue is patched in 4.18.0.
Workarounds:
None. Upgrade to the patched version.

Publish Date: 2026-03-31

URL: CVE-2026-2950

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-xxjr-mmjv-4gpg

Release Date: 2026-03-31

Fix Resolution (lodash): 4.17.23

Direct dependency fix Resolution (express-validator): 7.0.0

Step up your Open Source Security Game with Mend here

CVE-2025-56200

Vulnerable Library - validator-13.12.0.tgz

Library home page: https://registry.npmjs.org/validator/-/validator-13.12.0.tgz

Path to dependency file: /SmartDappsBuilder/backend/package.json

Path to vulnerable library: /SmartDappsBuilder/backend/node_modules/validator/package.json

Dependency Hierarchy:

  • express-validator-6.15.0.tgz (Root Library)
    • validator-13.12.0.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

A URL validation bypass vulnerability exists in validator.js through version 13.15.15. The isURL() function uses '://' as a delimiter to parse protocols, while browsers use ':' as the delimiter. This parsing difference allows attackers to bypass protocol and domain validation by crafting URLs leading to XSS and Open Redirect attacks.

Publish Date: 2025-09-30

URL: CVE-2025-56200

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-9965-vmph-33xx

Release Date: 2025-09-30

Fix Resolution: validator - 13.15.20

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions