Intel

AIKIDO-2026-10130

@modern-js/runtime is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

52

Medium Risk

This Affects:

JS@modern-js/runtime
2.68.0 - 2.70.3
Fixed in 2.70.4

TL;DR

Affected versions of the package may be vulnerable to cross-site scripting because streamed RSC data is embedded directly into <script> tags without properly escaping script content. This behavior can allow injected sequences such as closing script tags or HTML comments to break out of the script context and execute arbitrary code in the browser, rather than being safely escaped before insertion.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@modern-js/runtime is vulnerable to Cross-site Scripting (XSS) in versions 2.68.0 - 2.70.3.

How to fix this

Upgrade the @modern-js/runtime library to a patch version.

Background Info