Security mailing lists by PureSourceCode

CVE-2020-7770

CRITICAL 9.8CVSS 3.1

Prototype pollution in json8

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.

Published
12 Nov 2020
Last modified
8 Jul 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-1321
Also known as
GHSA-7h43-gx24-p529SNYK-JS-JSON8-1017116
Sources
NVDJSONOSV GHSA-7h43-gx24-p529JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD json8_project json8
cpe:2.3:a:json8_project:json8:*:*:*:*:*:*:*:*
< 1.0.3 1.0.3
OSV npm json8 < 1.0.3 1.0.3

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 12 Nov 2020)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.