Skip to main content

Symfony Stimulus Bridge EUVDEUVD-2026-133731

| CVE-2026-133781 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-11-24 Symfony
7.3
CVSS 4.0 · Vendor: Symfony
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise/publish package listed in controllers.json
  2. Delivery
    Map ./package.json to script via exports field
  3. Exploit
    Developer or CI runs Encore/Webpack build
  4. Execution
    require() executes mapped script during build
  5. Impact
    Read CI secrets and tamper built assets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Requires that a package already listed in the project's controllers.json be malicious or compromised AND define an exports field mapping './package.json' to a JavaScript file; exploitation then triggers only when a developer or CI server runs a Webpack or Symfony Encore build using @symfony/stimulus-bridge before 4.0.3. Per the advisory it works even when the package manager does not run install scripts. Limiting factors: it is strictly build-time and does not affect browsers or end users; the attacker must first get control of a referenced controller dependency; a build must actually be executed; and only versions prior to 4.0.3 are affected (fixed in 4.0.3).

Impact

This is a supply-chain, build-time code execution flaw (CWE-829) rated CVSS 4.0 7.3 (High). The vector CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P signals that exploitation is not trivial remote mass-exploitation: it is local to the build host (AV:L), requires a specific precondition (AT:P - a controller package that maps ./package.json to a script must already be present in controllers.json), and requires an action by the operator (UI:P - a developer or CI must actually run the Webpack/Symfony Encore build). Impact is severe once triggered (VC:H/VI:H/VA:H: read of build files and CI secrets, and tampering of built assets), with no scope change to other systems (SC:N/SI:N/SA:N). The vuln.today decision label is 'this_week' and a vendor patch exists, but no EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be weighed here - state that EPSS is MISSING. CISA KEV status is not indicated (treat as not listed) and no exploit/PoC reference is provided, so there is no evidence of active exploitation or public weaponization. Note a signal nuance to verify: PR:N marks the flaw as requiring no attacker privileges, but real-world risk hinges on an attacker first getting a malicious or compromised package listed as a Stimulus controller dependency - i.e., this is a dependency-trust problem, not an internet-facing remote exploit. Net: a genuine, patch-worthy priority for teams building Symfony/Stimulus front-ends in CI, but its realistic risk is gated by supply-chain trust rather than drive-by exploitation.

Exploit ScenarioDerived

An attacker who controls or compromises an npm package referenced in a project's controllers.json publishes a package whose exports field maps './package.json' to a JavaScript file. When a developer or CI server runs the Webpack or Symfony Encore build, the controllers.json loader calls require() on that mapped path and executes the attacker's script, which reads environment variables and CI secrets and can modify the built assets. No public exploit code is identified in the input, though the vendor's patch ships a test fixture that demonstrates the mechanism; the attack is local to the build host and depends on the build actually being run.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Build-time code execution in @symfony/stimulus-bridge before 4.0.3 lets a malicious or compromised npm package listed in a project's controllers.json run arbitrary code on the developer machine or CI server whenever a Webpack or Symfony Encore build is executed. The loader resolves <package>/package.json through the package's Node exports field, so a package can map that subpath to a JavaScript file which require() executes - this bypasses install-script protections entirely, since no package-manager install hook is involved. Successful execution can read build files and environment variables such as CI secrets and can alter the built assets; the flaw is strictly build-time and does not affect browsers or end users, and it requires that the attacker first gain control of a referenced controller dependency and that a build actually be run. No public exploit code identified at time of analysis; the vendor has released the fix in 4.0.3 and the priority decision is to remediate this week.

RemediationAI

Vendor-released patch: upgrade @symfony/stimulus-bridge to 4.0.3, where the controllers.json loader reads the resolved file and parses it as JSON instead of using require(); the fix commit is 1125c5c29dce467415a3d2663e682fbb9d9ab424 on branch main (https://github.com/symfony/stimulus-bridge/commit/1125c5c29dce467415a3d2663e682fbb9d9ab424), and details are in the advisories at https://symfony.com/cve-2026-133781 and https://github.com/symfony/stimulus-bridge/security/advisories/GHSA-6rch-xhq6-7x8r. Because exploitation depends on a malicious entry in controllers.json, teams that cannot upgrade immediately should audit that file and inspect the exports field of every package it references - a package mapping ./package.json to a JavaScript file is exactly the exploit shape and should be removed from controllers.json - and should limit which build secrets are exposed to Webpack/Encore build jobs and CI environments, since any executed payload can read those files and environment variables. Disabling package-manager install scripts is not an effective mitigation here, as the advisory states the attack works even when install scripts are not run; only moving to 4.0.3 fully closes the path.

Affected VersionsENISA

@symfony/stimulus-bridge 0 <4.0.3

Affected Packages

euvd symfony_stimulus_bridge fix: 4.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code is the controllers.json loader used by @symfony/stimulus-bridge in both its source (src/webpack/create-controllers-module.ts) and shipped build (dist/webpack/loader.js). For each package named in controllers.json, the loader previously did require(${packageName}/package.json). Node's package resolution honors the target package's exports map, so a dependency can declare "exports": { "./package.json": "./package.js" } and the subpath package.json resolves to a JavaScript module; require() then evaluates that file as part of the Webpack/Encore build process. The root cause class is CWE-829 (inclusion of functionality from an untrusted control sphere): the build tool imports attacker-controllable content from a dependency into a trusted execution context without validating that it is inert data. The upstream patch replaces the require() with readFileSync(require.resolve(...), 'utf8') followed by JSON.parse(), so a mapped script is never evaluated and instead fails JSON parsing. The accompanying regression test adds a fixture package whose exports map ./package.json to package.js (setting a global when executed) and asserts that the loader throws a "could not be found" error and that the global remains undefined. Note the affected surface is the Node-based build environment only; the shipped runtime browser bundle is not implicated. Node version behavior around exports subpath mapping applies, and the reported CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:P) and the assessed CVSS 3.1 vector (AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) both agree that no privileges are required (PR:N), while the practical prerequisite is control of a listed dependency plus a build run by a developer or CI.

Know when Symfony gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Symfony) PRIMARY 7.3 HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.0 HIGH

Code runs on the build host (AV:L) and requires a malicious controller package to be present plus a build run (AC:H, UI:R); attacker needs no privileges of their own (PR:N), yielding full C/I/A impact.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Symfony).

CVSS VectorVendor: Symfony

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-829 (Inclusion of Functionality from Untrusted Control Sphere).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the @symfony/stimulus-bridge npm package (versions before 4.0.3) permits code execution during frontend build processes, potentially compromising developer workstations and CI servers. This risk is elevated for engineering teams because a malicious or compromised dependency could silently execute code, exposing CI secrets and altering build outputs. Leadership should prioritize remediation to safeguard internal build infrastructure, though no active exploitation has been identified.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
common Symfony UX/Stimulus build dependency, widely used but not universal
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1

CVE-2019-10910 CRITICAL POC
9.8 May 16

In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s

CVE-2019-11325 CRITICAL
9.8 Nov 21

An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy