Prototype Pollution in @commercial/subtext

@commercial/subtext Updated 02 Oct 2025

Summary

03/09/2020
HIGH
Yes i
High
Not published

GHSA-36c4-4r89-6whg: Prototype Pollution in @commercial/subtext. Affects @commercial/subtext versions < 5.1.2. Fixed in 5.1.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @commercial/subtext package is an npm package used for handling multipart payloads. It provides functionality for parsing and processing multipart data in HTTP requests. This package is vulnerable to Prototype Pollution, which is a type of vulnerability that allows an attacker to modify the prototype of an object and inject malicious properties or methods. In this case, a multipart payload can be constructed in a way that allows an attacker to set the entire payload object's prototype. This can lead to bypassing validation rules and potential unauthorized access to data. If the prototype evaluates to null, it can also cause unhandled exceptions when accessing the request payload.

Vulnerability Detail

The vulnerability in @commercial/subtext arises from the improper handling of multipart payloads. By manipulating the payload, an attacker can modify the prototype of the payload object, potentially bypassing validation rules and gaining unauthorized access to data. Additionally, if the prototype evaluates to null, it can cause unhandled exceptions when accessing the request payload. This vulnerability has a high severity rating and is classified under CWE-1321.

How To Fix

Minimum fixed version

5.1.2

This is the first release that contains the fix.

npm install @commercial/subtext@5.1.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The @commercial/subtext package is vulnerable to Prototype Pollution. It is recommended to upgrade to version 5.1.2 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for @commercial/subtext →

Share this vulnerability

FAQ

Prototype Pollution is a vulnerability that allows an attacker to modify the prototype of an object and inject malicious properties or methods. It can lead to bypassing validation rules and unauthorized access to data.

This vulnerability in @commercial/subtext allows an attacker to manipulate multipart payloads and modify the prototype of the payload object. This can potentially bypass validation rules and result in unauthorized access to data.

This vulnerability has a high severity rating.

This vulnerability is classified under CWE-1321.

To fix this vulnerability, upgrade to version 5.1.2 or later of the @commercial/subtext package.

Related vulnerabilities

Recent vulnerabilities recorded for @commercial/subtext.

How To Fix

Minimum fixed version

5.1.2

This is the first release that contains the fix.

npm install @commercial/subtext@5.1.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback