Vulnerability library
Security checkSeptember 12, 2023

Remote Code Execution in scratch-vm

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmscratch-vm

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the scratch-vm package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 0.2.0-prerelease.20200709173451
  • Patched version(s): 0.2.0-prerelease.20200714185213

References

Could your website be exposed too?

SmartScanner can check your website for Remote Code Execution in scratch-vm and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 12, 2023