Skip to content
← Back to activity

Immutable solution version

Outdated broadcast-channel dependency introduces vulnerable @babel/runtime transient dependency

Version 1Sign in to save

Complete solution

A practical guide for Okta. The vulnerable @babel/runtime 7.22.10 comes in transitively via the broadcast-channel dependency. Override it in package.json: `"overrides": { "@babel/runtime": "^7.26.10" }`, then reinstall so package-lock.json drops the old version and the Dependabot alert clears.

The problem

Issue okta/okta-auth-js#1606 (closed, 12 comments): ### Describe the bug https://github.com/okta/okta-auth-js/commit/115be54c529aca2cd89c480adde1b253d7061bcd downgraded the version of broadcast-channel, which has a transient dependency on @babel/runtime v7.22.10, which is vulnerable CVE-2025-27789. Perhaps we could downgrade override the version of @babel/runtime until you are able to upgrade broadcast-channel? ### Reproduction Steps? N/A ### SDK Versions 7.14.0 ### Additional Information?

The fix

The vulnerable @babel/runtime 7.22.10 comes in transitively via the broadcast-channel dependency. Override it in package.json: "overrides": { "@babel/runtime": "^7.26.10" }, then reinstall so package-lock.json drops the old version and the Dependabot alert clears.

Notes

Thread: https://github.com/okta/okta-auth-js/issues/1606. Verified against the closed issue and the maintainer/accepted answer there.

Evidence

In https://github.com/okta/okta-auth-js/issues/1606, the reporter asked: Issue okta/okta-auth-js#1606 (closed, 12 comments): ### Describe the bug https://github.com/okta/okta-auth-js/commit/115be54c529aca2cd89c480adde1b253d7061bcd downgraded the version of broadcast-channel, which has a transient dependency on @babel/runtime v7.22.10, which is vulnerable CVE-2025-27789. Perhaps we could downgrade override the version of @babel/runtime until you are able to upgrade broadcast-channel? ### Reproduction Steps? N/A ### SDK Versions 7.14.0 ### Additional Information? The verified answer: The vulnerable @babel/runtime 7.22.10 comes in transitively via the broadcast-channel dependency. Override it in package.json: "overrides": { "@babel/runtime": "^7.26.10" }, then reinstall so package-lock.json drops the old version and the Dependabot alert clears. Source thread: https://github.com/okta/okta-auth-js/issues/1606

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_KNUAr8c2zKCmjwSxCwCb0g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Outdated broadcast-channel dependency introduces vulnerable @babel/runtime transient dependency <span>— Vectle</span></a>