Intel

AIKIDO-2026-193864

@swc/core is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 5, 2026
October 5, 2026

35

CVE Score

Low

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The SWC ECMAScript lexer and JSX parser panic when they decode a JSX text entity that resolves to a lone or invalid UTF-16 surrogate code point, crashing the process compiling the source file. Because @swc/core parses and transforms arbitrary JavaScript, TypeScript, and JSX source during builds, bundling, and CI pipelines, a crafted or malformed JSX file that reaches the compiler triggers this crash. The fix rejects the malformed surrogate entity with a parse error instead of panicking, avoiding the crash.

How do I fix this?

Upgrade the @swc/core library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range, and you parse JSX source that may contain untrusted or externally supplied content.

Package

Versions

1.0.11 - 1.15.47

Fixed in 1.16.0

Background info

@swc/core is vulnerable to Denial of Service (DoS) in versions 1.0.11 - 1.15.47.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea