Skip to content

CVE-2025-13466 (Medium) detected in body-parser-1.20.3.tgz - autoclosed #257

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2025-13466 - Medium Severity Vulnerability

Vulnerable Library - body-parser-1.20.3.tgz

Node.js body parsing middleware

Library home page: https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz

Path to dependency file: /ui/package.json

Path to vulnerable library: /ui/package.json

Dependency Hierarchy:

  • @postgres.ai/shared-4.0.0.tgz (Root Library)
    • react-scripts-5.0.1.tgz
      • webpack-dev-server-4.15.2.tgz
        • express-4.21.2.tgz
          • body-parser-1.20.3.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

body-parser 2.2.0 is vulnerable to denial of service due to inefficient handling of URL-encoded bodies with very large numbers of parameters. An attacker can send payloads containing thousands of parameters within the default 100KB request size limit, causing elevated CPU and memory usage. This can lead to service slowdown or partial outages under sustained malicious traffic.
This issue is addressed in version 2.2.1.

Publish Date: 2025-11-24

URL: CVE-2025-13466

CVSS 3 Score Details (5.8)

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: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-11-24

Fix Resolution: https://github.com/expressjs/body-parser.git - v2.2.1,body-parser - 2.2.1


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions