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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-08-21T18:30:12.251Z
- Modified: 2026-10-14T19:10:00.297Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## 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>

## Sources

- CVE List: [CVE-2026-55850](https://www.cve.org/CVERecord?id=CVE-2026-55850), CVE Terms of Use, modified 2026-08-21
- NVD: [CVE-2026-55850](https://nvd.nist.gov/vuln/detail/CVE-2026-55850), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-55850 · Whole record: https://cve.day/CVE-2026-55850.json · Rebuilt by cve.day 2026-11-25T22:59:34.814Z
