# GHSA-36c4-4r89-6whg: Prototype Pollution in @commercial/subtext

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:49:02.000Z
- Modified: 2021-10-04T21:05:01.000Z
- Weaknesses: CWE-1321

## Description

Versions of `@commercial/subtext` prior to 5.1.2 are vulnerable to Prototype Pollution. A multipart payload can be constructed in a way that one of the parts’ content can be set as the entire payload object’s prototype. If this prototype contains data, it may bypass other validation rules which enforce access and privacy. If this prototype evaluates to null, it can cause unhandled exceptions when the request payload is accessed.


## Recommendation

Upgrade to version 5.1.2 or later.

(As written by GitHub Advisory Database.)

## Affected

- @commercial/subtext (npm): before 5.1.2

## References

- <https://www.npmjs.com/advisories/1484> (web)

## Sources

- GitHub Advisory Database: [GHSA-36c4-4r89-6whg](https://github.com/advisories/GHSA-36c4-4r89-6whg), CC-BY-4.0, modified 2021-10-04

---

Page: https://cve.day/GHSA-36c4-4r89-6whg · Whole record: https://cve.day/GHSA-36c4-4r89-6whg.json · Rebuilt by cve.day 2026-11-25T22:56:43.742Z
