Prototype pollution in class-transformer
Priority LOW 26CWE-1321Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-915.
Summary
class-transformer before 0.3.1 allow attackers to perform Prototype Pollution. The classToPlainFromExist function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.
Why it matters now
EPSS 0.01188 68th percentileScored 2026-11-07
Fix Fixed class-transformer (npm): 0.3.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | class-transformer | All versions prior to version 0.3.1 | — | No fix listed | CNA |
| — | class-transformer (npm) | before 0.3.1 | 0.3.1 | Patch available | GHSA-6gp3-h3jj-prx4 |
- class-transformer Vendor— Affected All versions prior to version 0.3.1 Fixed in — No fix listed CNA
- class-transformer (npm) Vendor— Affected before 0.3.1 Fixed in 0.3.1 Patch available GHSA-6gp3-h3jj-prx4
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:class-transformer_project:class-transformer:*:*:*:*:*:node.js:*:* | before 0.3.1 | Vulnerable | Class-transformer Project |
- cpe:2.3:a:class-transformer_project:class-transformer:*:*:*:*:*:node.js:*:* Versions before 0.3.1 Vulnerable ·Class-transformer Project
Remediation
- Fix · GHSA-6gp3-h3jj-prx4 class-transformer (npm) Fixed in 0.3.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7637
- 2026-10-03 Alias added: GHSA-6gp3-h3jj-prx4
References
Patch 1
Sources
- CVE-2020-7637 · CVE Program
- CVE-2020-7637 · NVD
- FIRST EPSS
- GHSA-6gp3-h3jj-prx4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences