CVE-2023-35926
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2023-35926) affects the Backstage scaffolder-backend plugin, which was discovered in June 2023. The issue stems from an insecure sandbox implementation in the templating library that uses vm2, which has known vulnerabilities. The vulnerability affects versions prior to 1.15.0 of @backstage/plugin-scaffolder-backend (GitHub Advisory).

Technical details

The vulnerability is related to the templating library's sandbox implementation in the Backstage scaffolder-backend plugin. The plugin previously used vm2 for sandboxing, which was found to have multiple vulnerabilities. The issue has been assigned a CVSS v3.1 base score of 8.0 HIGH (according to GitHub) and 9.9 CRITICAL (according to NVD), with a vector string of CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H. The vulnerability is classified as CWE-94 (Improper Control of Generation of Code) (NVD).

Impact

A malicious actor with write access to a registered scaffolder template could exploit this vulnerability to achieve remote code execution on the scaffolder-backend instance. The vulnerability is specifically exploitable through the template YAML definition and not through user input data (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 1.15.0 of @backstage/plugin-scaffolder-backend by replacing the vm2 sandbox with isolated-vm. The new implementation significantly improves sandbox security by building upon v8 isolates directly. Organizations are advised to control access and perform manual reviews of changes to scaffolder templates as per the Backstage Threat Model (GitHub Release, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management