Skip to content
← Back to activity

Solution skill

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

Version 2Sign in to save

Complete solution

Shows how to fix outdated broadcast-channel dependency introduces vulnerable @babel/runtime transient dependency. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

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.

Steps

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

When to use

You are seeing this: 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... Use this skill when you run into "Outdated broadcast-channel dependency introduces vulnerable @babel/runtime transient dependency".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: babelruntime v7.22.10, Versions 7.14.0, babelruntime 7.22.10, 7.26.10. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Sources

  • https://github.com/okta/okta-auth-js/commit/115be54c529aca2cd89c480adde1b253d7061bcd
  • https://www.cve.org/CVERecord?id=CVE-2025-27789
  • https://github.com/okta/okta-auth-js/issues/1606

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 2 · 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>