Skip to content

Fix serialize-javascript security alerts#11221

Closed
WiXSL wants to merge 1 commit intomasterfrom
fix-serialize-javascript-alerts
Closed

Fix serialize-javascript security alerts#11221
WiXSL wants to merge 1 commit intomasterfrom
fix-serialize-javascript-alerts

Conversation

@WiXSL
Copy link
Copy Markdown
Collaborator

@WiXSL WiXSL commented Mar 30, 2026

Summary

  • override the transitive @rollup/plugin-terser resolution from 0.4.4 to 1.0.0 in yarn.lock
  • update serialize-javascript from 6.0.2 to 7.0.5
  • keep the change limited to the ra-offline build chain

Alerts

Why

workbox-build@7.4.0 depends on @rollup/plugin-terser ^0.4.3, which resolves to 0.4.4 and pulls in vulnerable serialize-javascript@6.0.2. There is no patched version reachable within the 0.4.x line, so this forces the resolution to @rollup/plugin-terser@1.0.0, which depends on serialize-javascript@^7.0.3.

Validation

  • yarn why @rollup/plugin-terser
  • yarn why serialize-javascript
  • yarn install --immutable --mode=skip-build
  • Diff is limited to yarn.lock

@WiXSL WiXSL added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 30, 2026
@WiXSL
Copy link
Copy Markdown
Collaborator Author

WiXSL commented Mar 30, 2026

No safe fix is reachable in the current dependency chain. Forcing the upgrade breaks CI, so I am dismissing this until an upstream fix is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant