Live threats

All CVEs / Json8 Project

CVE-2020-7770Json8 Project Json8

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Nov 12, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

This affects the package json8 before 1.0.3. The function adds in the target object the property specified in the path, however it does not properly check the key being set, leading to a prototype pollution.

Original NVD text.

What to do

  1. Apply the vendor's security update for Json8.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm json8 < 1.0.3 1.0.3 npm install json8@1.0.3

Per OSV / GitHub Advisories (GHSA-7h43-gx24-p529). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
json8_projectjson8< 1.0.3

Official sources

References

Links published by the sources. Open them with care.