NONE · 0

CVE-2026-133781

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 ...

Vulnerability Description

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.

Related Weaknesses (CWE)

References

FAQ

What is CVE-2026-133781?

CVE-2026-133781 is a documented vulnerability. 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 ...

How severe is CVE-2026-133781?

CVSS scoring is not yet available for CVE-2026-133781. Check NVD for updates.

Is there a patch for CVE-2026-133781?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.