# CVE-2026-55850: Element Web: A malicious homeserver can inject HTML in Element Web using its homepage

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-21 · Modified: 2026-08-21
- Record: https://cvemate.com/vulnerability/CVE-2026-55850 · JSON: https://cvemate.com/vulnerability/CVE-2026-55850/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.315%, percentile 26.318%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- element-hq element-web: \< 1.12.22

## References

- <https://github.com/element-hq/element-web/security/advisories/GHSA-wrcp-5v3v-3j6v>
- <https://github.com/element-hq/element-web/commit/7949980a7e3c7e397d7afe899ef1b0563c417b0e>
- <https://github.com/element-hq/element-web/releases/tag/v1.12.22>
- <https://www.machinespirits.com/advisory/563a17>

---

Data as of 2026-12-05T08:02:08.016Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
