Live threats

All CVEs / Mit

CVE-2020-14000Mit Scratch-vm

Critical 9.8 No auth needed

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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Scratch-vm.
  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 scratch-vm < 0.2.0-prerelease.20200714185213 0.2.0-prerelease.20200714185213 npm install scratch-vm@0.2.0-prerelease.20200714185213

Per OSV / GitHub Advisories (GHSA-vc9j-fhvv-8vrf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mitscratch-vm< 0.2.0-prerelease.20200714185213

Official sources

References

Links published by the sources. Open them with care.