Intel

AIKIDO-2024-10006

@stencil/core is vulnerable to CSS injection

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 27, 2024
February 27, 2024

7

CVE Score

Low

CSS injection

Are you affected? Scan for Free

TL;DR

Affected versions of this package present a security risk due to the use of innerHTML for injecting CSS into <style> elements in bootstrap-lazy.ts. Switching to textContent mitigates the risk of executing malicious scripts. This is considered a low-risk issue, as most browser extensions block such behavior by default.

How do I fix this?

To fix, upgrade to version 4.12.3 or above.

Who does this affect?

You are affected by this flaw if you use a version >= 4.7.2 and = 4.12.2 of this package.

Versions

4.7.2 - 4.12.2

Fixed in 4.12.3

Background info

@stencil/core is vulnerable to CSS injection in versions 4.7.2 - 4.12.2.

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