Description
setThemeRoot() failed to enforce the sap-allowed-theme-origins allowlist. An attacker-controlled absolute cross-origin URL could be stored and used directly to construct a <link rel=stylesheet> element, even when no <meta name=sap-allowed-theme-origins> tag was present in the document. The same bypass was reachable via the ?sap-themeRoot URL parameter.Exploitation requires attacker-influenced input (e.g., a URL query parameter, tenant configuration, or user-supplied setting) to reach setThemeRoot(). A successful exploit allows an attacker to inject arbitrary CSS into the victim page, enabling:- UI redressing and clickjacking- Phishing overlays- Visual defacement- Limited data exfiltration via CSS attribute selectors targeting predictable DOM content
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SAP_SE | @ui5/webcomponents-base | @ui5/webcomponents-base < 2.21.0 | — |
Advisories 2
- WID-SEC-2026-2308 SAP Patch Day Juli 2026 BSI CERT-Bund (WID) · Jul 28, 2026
- NCSC-2026-0230 Kwetsbaarheden verholpen in SAP-producten NCSC-NL (Netherlands) · Jul 17, 2026