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 scanRelated Issues
- Remote Code Execution in Angular Expressions - CVE-2020-5219
- ejs is vulnerable to remote code execution due to weak input validation - CVE-2017-1000228
- Agnai vulnerable to Remote Code Execution via JS Upload using Directory Traversal - CVE-2024-47169
- LobeHub has a Cross-Site Scripting issue that escalates to Remote Code Execution - CVE-2026-42045


