CVE-2026-55850
JSON

5.3medium

Element Web: A malicious homeserver can inject HTML in Element Web using its homepage

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Element Web is a Matrix web client built using the Matrix React SDK. Prior to 1.12.22, EmbeddedPage in apps/web/src/components/structures/EmbeddedPage.tsx renders homeserver-supplied homepage content through dangerouslySetInnerHTML without passing it through sanitizedHtmlNode. A malicious homeserver can provide crafted HTML that Element Web renders on the homepage; the content security policy prevents JavaScript but not phishing HTML. This issue is fixed in version 1.12.22.

Affected

Product or packageVersionsReported by
element-hq element-web< 1.12.22CVE List

Classification

CWE-79

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

What each source says

CVE List

Element Web is a Matrix web client built using the Matrix React SDK. Prior to 1.12.22, EmbeddedPage in apps/web/src/components/structures/EmbeddedPage.tsx renders homeserver-supplied homepage content through dangerouslySetInnerHTML without passing it through sanitizedHtmlNode. A malicious homeserver can provide crafted HTML that Element Web renders on the homepage; the content security policy prevents JavaScript but not phishing HTML. This issue is fixed in version 1.12.22.

NVD (es)

Element Web es un cliente web de Matrix construido usando el SDK de React de Matrix. Antes de la versión 1.12.22, EmbeddedPage en apps/web/src/components/structures/EmbeddedPage.tsx renderiza contenido de la página de inicio proporcionado por el homeserver a través de dangerouslySetInnerHTML sin pasarlo por sanitizedHtmlNode. Un homeserver malicioso puede proporcionar HTML manipulado que Element Web renderiza en la página de inicio; la política de seguridad de contenido previene JavaScript pero no HTML de phishing. Este problema está solucionado en la versión 1.12.22.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-55850 changed 2026-08-21CVE Terms of Use
NVDCVE-2026-55850 changed 2026-10-14Public domain