Allowlist Bypass in setThemeRoot() Enables Cross-Origin CSS Injection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| SAP_SE | @ui5/webcomponents-base | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Sap | Ui5/webcomponents-base |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.285% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sap
Sap ui5/webcomponents-base |
|
| Vendors & Products |
Sap
Sap ui5/webcomponents-base |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-306 | CWE-79 |
| Type | Values Removed | Values Added |
|---|---|---|
| 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 | |
| Title | Allowlist Bypass in setThemeRoot() Enables Cross-Origin CSS Injection | |
| Weaknesses | CWE-306 | |
| References |
| |
| Metrics |
cvssV3_1
|