CVE-2026-44767
JSON

6.1medium

Allowlist Bypass in setThemeRoot() Enables Cross-Origin CSS Injection

Severity
6.1medium CVSS:3.1 by sap
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
sap

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

Product or packageVersionsReported by
SAP_SE @ui5/webcomponents-base@ui5/webcomponents-base < 2.21.0CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

“setThemeRoot()” no pudo aplicar la lista de permitidos “sap-allowed-theme-origins”. Una URL absoluta de origen cruzado controlada por un atacante podría almacenarse y usarse directamente para construir un elemento “<link rel=stylesheet>”, incluso cuando no había ninguna etiqueta “<meta name=sap-allowed-theme-origins>” presente en el documento. El mismo bypass era accesible a través del parámetro de URL “?sap-themeRoot”. La explotación requiere una entrada influenciada por el atacante (p. ej., un parámetro de consulta de URL, una configuración de inquilino o una configuración proporcionada por el usuario) para llegar a “setThemeRoot()”. Un exploit exitoso permite a un atacante inyectar CSS arbitrario en la página de la víctima, lo que permite: - Revestimiento de UI y clickjacking - Superposiciones de phishing - Desfiguración visual - Exfiltración limitada de datos a través de selectores de atributos CSS dirigidos a contenido DOM predecible

References

Sources

SourceRecordLicence
CVE ListCVE-2026-44767 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-44767 changed 2026-10-24Public domain