Search
Find a vulnerability
Search criteria
4 vulnerabilities found for @symfony/stimulus-bridge by Symfony
CVE-2026-133781 (GCVE-0-2026-133781)
Vulnerability from nvd – Published: 2026-11-24 08:41 – Updated: 2026-11-24 08:41
VLAI
EPSS
VEX
Title
Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script
Summary
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.
Severity
CWE
- CWE-829 - Inclusion of Functionality from Untrusted Control Sphere
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133781 | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/securi… | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/commit… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | @symfony/stimulus-bridge |
Affected:
0 , < 4.0.3
(semver)
|
Date Public
2026-11-24 08:37
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://www.npmjs.com",
"defaultStatus": "unaffected",
"packageName": "@symfony/stimulus-bridge",
"product": "@symfony/stimulus-bridge",
"repo": "https://github.com/symfony/stimulus-bridge",
"vendor": "Symfony",
"versions": [
{
"lessThan": "4.0.3",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-24T08:37:10.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "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.\n\nThis is a build-time vulnerability: it doesn\u0027t 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\u0027t run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets.\n\nThe loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running."
}
],
"value": "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.\n\nThis is a build-time vulnerability: it doesn\u0027t 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\u0027t run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets.\n\nThe loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 7.3,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-829",
"description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:41:50.479Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133781",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133781"
},
{
"name": "GHSA-6rch-xhq6-7x8r",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/stimulus-bridge/security/advisories/GHSA-6rch-xhq6-7x8r"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/stimulus-bridge/commit/1125c5c29dce467415a3d2663e682fbb9d9ab424"
}
],
"source": {
"advisory": "GHSA-6rch-xhq6-7x8r",
"discovery": "UNKNOWN"
},
"title": "Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133781",
"datePublished": "2026-11-24T08:41:50.479Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:41:50.479Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133780 (GCVE-0-2026-133780)
Vulnerability from nvd – Published: 2026-11-24 08:41 – Updated: 2026-11-24 08:41
VLAI
EPSS
VEX
Title
@symfony/stimulus-bridge lazy-controller-loader: arbitrary code execution via unsanitized Stimulus magic comments
Summary
The @symfony/stimulus-bridge npm package includes a Webpack loader called lazy-controller-loader that supports "magic comments" placed above a Stimulus controller import, for example /* stimulusFetch: 'lazy' */, to control lazy loading behavior. To read those options, the loader extracted the raw text of any stimulus* comment and evaluated it as JavaScript using Node's vm.runInNewContext(). The Node.js node:vm module is not a security sandbox, and a crafted comment can break out of the VM context using well-known techniques to run arbitrary Node.js code within the build process.
This is a build-time vulnerability: it does not affect browsers or end users. The code executes on the developer machine or CI/build server during a Webpack or Symfony Encore build. Realistic attack vectors include a malicious Stimulus controller introduced through a compromised dependency, or a pull request that triggers an automated CI build. An attacker who can get such a file into the build can read files and environment variables available to the build process, exfiltrate CI secrets, tamper with generated build artifacts, and run commands with the permissions of the build user.
The loader no longer evaluates comment content as JavaScript. It now parses each comment as an object expression using a real JavaScript parser and extracts only plain literal values. Any non-literal value, such as a function call, an identifier, or a sequence expression, is rejected and reported as a build error instead of being executed. Legitimate option values like 'lazy' and 'eager' continue to work without any changes required on the user's side.
Severity
CWE
- CWE-94 - Improper Control of Generation of Code
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133780 | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/securi… | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/commit… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | @symfony/stimulus-bridge |
Affected:
0 , < 4.0.3
(semver)
|
Date Public
2026-11-24 08:37
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://www.npmjs.com",
"defaultStatus": "unaffected",
"packageName": "@symfony/stimulus-bridge",
"product": "@symfony/stimulus-bridge",
"repo": "https://github.com/symfony/stimulus-bridge",
"vendor": "Symfony",
"versions": [
{
"lessThan": "4.0.3",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Hugo Alliaume"
}
],
"datePublic": "2026-11-24T08:37:07.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The `@symfony/stimulus-bridge` npm package includes a Webpack loader called `lazy-controller-loader` that supports \"magic comments\" placed above a Stimulus controller import, for example `/* stimulusFetch: \u0027lazy\u0027 */`, to control lazy loading behavior. To read those options, the loader extracted the raw text of any `stimulus*` comment and evaluated it as JavaScript using Node\u0027s `vm.runInNewContext()`. The Node.js `node:vm` module is not a security sandbox, and a crafted comment can break out of the VM context using well-known techniques to run arbitrary Node.js code within the build process.\n\nThis is a build-time vulnerability: it does not affect browsers or end users. The code executes on the developer machine or CI/build server during a Webpack or Symfony Encore build. Realistic attack vectors include a malicious Stimulus controller introduced through a compromised dependency, or a pull request that triggers an automated CI build. An attacker who can get such a file into the build can read files and environment variables available to the build process, exfiltrate CI secrets, tamper with generated build artifacts, and run commands with the permissions of the build user.\n\nThe loader no longer evaluates comment content as JavaScript. It now parses each comment as an object expression using a real JavaScript parser and extracts only plain literal values. Any non-literal value, such as a function call, an identifier, or a sequence expression, is rejected and reported as a build error instead of being executed. Legitimate option values like `\u0027lazy\u0027` and `\u0027eager\u0027` continue to work without any changes required on the user\u0027s side."
}
],
"value": "The @symfony/stimulus-bridge npm package includes a Webpack loader called lazy-controller-loader that supports \"magic comments\" placed above a Stimulus controller import, for example /* stimulusFetch: \u0027lazy\u0027 */, to control lazy loading behavior. To read those options, the loader extracted the raw text of any stimulus* comment and evaluated it as JavaScript using Node\u0027s vm.runInNewContext(). The Node.js node:vm module is not a security sandbox, and a crafted comment can break out of the VM context using well-known techniques to run arbitrary Node.js code within the build process.\n\nThis is a build-time vulnerability: it does not affect browsers or end users. The code executes on the developer machine or CI/build server during a Webpack or Symfony Encore build. Realistic attack vectors include a malicious Stimulus controller introduced through a compromised dependency, or a pull request that triggers an automated CI build. An attacker who can get such a file into the build can read files and environment variables available to the build process, exfiltrate CI secrets, tamper with generated build artifacts, and run commands with the permissions of the build user.\n\nThe loader no longer evaluates comment content as JavaScript. It now parses each comment as an object expression using a real JavaScript parser and extracts only plain literal values. Any non-literal value, such as a function call, an identifier, or a sequence expression, is rejected and reported as a build error instead of being executed. Legitimate option values like \u0027lazy\u0027 and \u0027eager\u0027 continue to work without any changes required on the user\u0027s side."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 7.3,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-94",
"description": "CWE-94 Improper Control of Generation of Code",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:41:49.546Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133780",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133780"
},
{
"name": "GHSA-hjg4-f74q-4w7h",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/stimulus-bridge/security/advisories/GHSA-hjg4-f74q-4w7h"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/stimulus-bridge/commit/25f1ff0bc4b2c2aaf87bca4d67b41bbc1c25fcdc"
}
],
"source": {
"advisory": "GHSA-hjg4-f74q-4w7h",
"discovery": "UNKNOWN"
},
"title": "@symfony/stimulus-bridge lazy-controller-loader: arbitrary code execution via unsanitized Stimulus magic comments",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133780",
"datePublished": "2026-11-24T08:41:49.546Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:41:49.546Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133781 (GCVE-0-2026-133781)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:41 – Updated: 2026-11-24 08:41
VLAI
EPSS
VEX
Title
Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script
Summary
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.
Severity
CWE
- CWE-829 - Inclusion of Functionality from Untrusted Control Sphere
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133781 | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/securi… | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/commit… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | @symfony/stimulus-bridge |
Affected:
0 , < 4.0.3
(semver)
|
Date Public
2026-11-24 08:37
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://www.npmjs.com",
"defaultStatus": "unaffected",
"packageName": "@symfony/stimulus-bridge",
"product": "@symfony/stimulus-bridge",
"repo": "https://github.com/symfony/stimulus-bridge",
"vendor": "Symfony",
"versions": [
{
"lessThan": "4.0.3",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-24T08:37:10.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "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.\n\nThis is a build-time vulnerability: it doesn\u0027t 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\u0027t run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets.\n\nThe loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running."
}
],
"value": "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.\n\nThis is a build-time vulnerability: it doesn\u0027t 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\u0027t run install scripts. This code can read the files and environment variables of the build, like CI secrets, and change the built assets.\n\nThe loader now reads the resolved file and parses it as JSON, so that a mapped script fails to parse instead of running."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 7.3,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-829",
"description": "CWE-829 Inclusion of Functionality from Untrusted Control Sphere",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:41:50.479Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133781",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133781"
},
{
"name": "GHSA-6rch-xhq6-7x8r",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/stimulus-bridge/security/advisories/GHSA-6rch-xhq6-7x8r"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/stimulus-bridge/commit/1125c5c29dce467415a3d2663e682fbb9d9ab424"
}
],
"source": {
"advisory": "GHSA-6rch-xhq6-7x8r",
"discovery": "UNKNOWN"
},
"title": "Build-time Code Execution in @symfony/stimulus-bridge via a Controller Package That Maps Its package.json to a Script",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133781",
"datePublished": "2026-11-24T08:41:50.479Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:41:50.479Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133780 (GCVE-0-2026-133780)
Vulnerability from cvelistv5 – Published: 2026-11-24 08:41 – Updated: 2026-11-24 08:41
VLAI
EPSS
VEX
Title
@symfony/stimulus-bridge lazy-controller-loader: arbitrary code execution via unsanitized Stimulus magic comments
Summary
The @symfony/stimulus-bridge npm package includes a Webpack loader called lazy-controller-loader that supports "magic comments" placed above a Stimulus controller import, for example /* stimulusFetch: 'lazy' */, to control lazy loading behavior. To read those options, the loader extracted the raw text of any stimulus* comment and evaluated it as JavaScript using Node's vm.runInNewContext(). The Node.js node:vm module is not a security sandbox, and a crafted comment can break out of the VM context using well-known techniques to run arbitrary Node.js code within the build process.
This is a build-time vulnerability: it does not affect browsers or end users. The code executes on the developer machine or CI/build server during a Webpack or Symfony Encore build. Realistic attack vectors include a malicious Stimulus controller introduced through a compromised dependency, or a pull request that triggers an automated CI build. An attacker who can get such a file into the build can read files and environment variables available to the build process, exfiltrate CI secrets, tamper with generated build artifacts, and run commands with the permissions of the build user.
The loader no longer evaluates comment content as JavaScript. It now parses each comment as an object expression using a real JavaScript parser and extracts only plain literal values. Any non-literal value, such as a function call, an identifier, or a sequence expression, is rejected and reported as a build error instead of being executed. Legitimate option values like 'lazy' and 'eager' continue to work without any changes required on the user's side.
Severity
CWE
- CWE-94 - Improper Control of Generation of Code
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133780 | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/securi… | vendor-advisory |
| https://github.com/symfony/stimulus-bridge/commit… | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | @symfony/stimulus-bridge |
Affected:
0 , < 4.0.3
(semver)
|
Date Public
2026-11-24 08:37
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://www.npmjs.com",
"defaultStatus": "unaffected",
"packageName": "@symfony/stimulus-bridge",
"product": "@symfony/stimulus-bridge",
"repo": "https://github.com/symfony/stimulus-bridge",
"vendor": "Symfony",
"versions": [
{
"lessThan": "4.0.3",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Hugo Alliaume"
}
],
"datePublic": "2026-11-24T08:37:07.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "The `@symfony/stimulus-bridge` npm package includes a Webpack loader called `lazy-controller-loader` that supports \"magic comments\" placed above a Stimulus controller import, for example `/* stimulusFetch: \u0027lazy\u0027 */`, to control lazy loading behavior. To read those options, the loader extracted the raw text of any `stimulus*` comment and evaluated it as JavaScript using Node\u0027s `vm.runInNewContext()`. The Node.js `node:vm` module is not a security sandbox, and a crafted comment can break out of the VM context using well-known techniques to run arbitrary Node.js code within the build process.\n\nThis is a build-time vulnerability: it does not affect browsers or end users. The code executes on the developer machine or CI/build server during a Webpack or Symfony Encore build. Realistic attack vectors include a malicious Stimulus controller introduced through a compromised dependency, or a pull request that triggers an automated CI build. An attacker who can get such a file into the build can read files and environment variables available to the build process, exfiltrate CI secrets, tamper with generated build artifacts, and run commands with the permissions of the build user.\n\nThe loader no longer evaluates comment content as JavaScript. It now parses each comment as an object expression using a real JavaScript parser and extracts only plain literal values. Any non-literal value, such as a function call, an identifier, or a sequence expression, is rejected and reported as a build error instead of being executed. Legitimate option values like `\u0027lazy\u0027` and `\u0027eager\u0027` continue to work without any changes required on the user\u0027s side."
}
],
"value": "The @symfony/stimulus-bridge npm package includes a Webpack loader called lazy-controller-loader that supports \"magic comments\" placed above a Stimulus controller import, for example /* stimulusFetch: \u0027lazy\u0027 */, to control lazy loading behavior. To read those options, the loader extracted the raw text of any stimulus* comment and evaluated it as JavaScript using Node\u0027s vm.runInNewContext(). The Node.js node:vm module is not a security sandbox, and a crafted comment can break out of the VM context using well-known techniques to run arbitrary Node.js code within the build process.\n\nThis is a build-time vulnerability: it does not affect browsers or end users. The code executes on the developer machine or CI/build server during a Webpack or Symfony Encore build. Realistic attack vectors include a malicious Stimulus controller introduced through a compromised dependency, or a pull request that triggers an automated CI build. An attacker who can get such a file into the build can read files and environment variables available to the build process, exfiltrate CI secrets, tamper with generated build artifacts, and run commands with the permissions of the build user.\n\nThe loader no longer evaluates comment content as JavaScript. It now parses each comment as an object expression using a real JavaScript parser and extracts only plain literal values. Any non-literal value, such as a function call, an identifier, or a sequence expression, is rejected and reported as a build error instead of being executed. Legitimate option values like \u0027lazy\u0027 and \u0027eager\u0027 continue to work without any changes required on the user\u0027s side."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 7.3,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-94",
"description": "CWE-94 Improper Control of Generation of Code",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-24T08:41:49.546Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133780",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133780"
},
{
"name": "GHSA-hjg4-f74q-4w7h",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/stimulus-bridge/security/advisories/GHSA-hjg4-f74q-4w7h"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/stimulus-bridge/commit/25f1ff0bc4b2c2aaf87bca4d67b41bbc1c25fcdc"
}
],
"source": {
"advisory": "GHSA-hjg4-f74q-4w7h",
"discovery": "UNKNOWN"
},
"title": "@symfony/stimulus-bridge lazy-controller-loader: arbitrary code execution via unsanitized Stimulus magic comments",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133780",
"datePublished": "2026-11-24T08:41:49.546Z",
"dateReserved": "2026-11-20T14:01:43.159Z",
"dateUpdated": "2026-11-24T08:41:49.546Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}