# CVE-2020-14000: Remote Code Execution in scratch-vm

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.83%, higher than 86% of CVEs (2026-12-01)
- Published: 2020-07-16T14:41:40.000Z
- Modified: 2026-06-17T02:54:04.837Z
- Also known as: GHSA-vc9j-fhvv-8vrf
- Weaknesses: CWE-502
- Assigned by: mitre

## Description

MIT Lifelong Kindergarten Scratch scratch-vm before 0.2.0-prerelease.20200714185213 loads extension URLs from untrusted project.json files with certain _ characters, resulting in remote code execution because the URL's content is treated as a script and is executed as a worker. The responsible code is getExtensionIdForOpcode in serialization/sb3.js. The use of _ is incompatible with a protection mechanism in older versions, in which URLs were split and consequently deserialization attacks were prevented. NOTE: the scratch.mit.edu hosted service is not affected because of the lack of worker scripts.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- scratch-vm (npm): before 0.2.0-prerelease.20200714185213
- mit scratch-vm: before 0.2.0-prerelease.20200714185213

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/LLK/scratch-vm/pull/2476> (third-party-advisory, web)
- <https://scratch.mit.edu/discuss/topic/422904/?page=1#post-4223443> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-14000> (advisory)
- <https://github.com/LLK/scratch-vm/pull/2476/commits/90b9da45f4084958535338d1c4d71a22d6136aab> (web)
- <https://github.com/LLK/scratch-vm> (package)

## Sources

- CVE List: [CVE-2020-14000](https://www.cve.org/CVERecord?id=CVE-2020-14000), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-vc9j-fhvv-8vrf](https://github.com/advisories/GHSA-vc9j-fhvv-8vrf), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-14000](https://nvd.nist.gov/vuln/detail/CVE-2020-14000), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-14000 · Whole record: https://cve.day/CVE-2020-14000.json · Rebuilt by cve.day 2026-11-25T22:57:53.510Z
