Skip to content

@symfony/stimulus-bridge

Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script

CVE-2026-133781Published 24 Nov 2026, 08:41 UTC

Real-world risk

1.3/ 10Low

Routine

If the vulnerable configuration applies to you: 3.0

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.3

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from Symfony)

The controllers.json loader of @symfony/stimulus-bridge loads the package.json file of each package listed in controllers.json with require(). Node resolves this path through the exports field of the package, which can map ./package.json to a script. require() then runs that script during the Webpack or Symfony Encore build. This is a build-time vulnerability: it doesn't affect browsers or end users. A malicious or compromised package listed in controllers.json can run code on the developer machine or the CI server. This works even when the package manager doesn't run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets. The loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running.

Am I affected?

ProductAffected versions (from the sources)Fixed in
@symfony/stimulus-bridgeNiche< 4.0.34.0.3

What to do

Update to a fixed version: 4.0.3.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 14), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.158
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.1575 × threat 0.851.339
  4. Rounded to one decimal between 0.1 and 101.3

How the score works

Exploitation and evidence timeline

  1. 24 Nov 2026 Published
  2. 3 Dec 2026 Risk 1.3 (cvss fallback)

Weakness

CWE-829

References

Get alerts for @symfony/stimulus-bridge

Free email or text alerts when a vulnerability in @symfony/stimulus-bridge reaches risk 8 or higher. Nothing else.