Intel

AIKIDO-2026-707978

@ui5/webcomponents-base is vulnerable to Inclusion of Functionality from Untrusted Control Sphere

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 6, 2026
July 6, 2026

59

CVE Score

Medium

Inclusion of Functionality from Untrusted Control Sphere

Are you affected? Scan for Free

TL;DR

The framework validates the configured themeRoot in validateThemeRoot before creating the theme CSS <link> element that loads style variables. Protocol-relative URLs such as //attacker.example start with /, so they are treated as relative paths and resolved against the current page, producing the attacker origin and bypassing the origin allowlist that is enforced for other absolute cross-origin URLs. An application that lets untrusted input reach the themeRoot configuration therefore loads theme stylesheets from an attacker-controlled origin, enabling external CSS injection. The fix resolves protocol-relative and relative inputs to the current origin and only creates the link element from a validated, normalized theme root.

How do I fix this?

Upgrade the @ui5/webcomponents-base 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 your application has not disabled sap-ui-theme URL-parameter configuration.

Versions

1.12.0 - 2.17.1

Fixed in 2.17.2

Background info

@ui5/webcomponents-base is vulnerable to Inclusion of Functionality from Untrusted Control Sphere in versions 1.12.0 - 2.17.1.

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