XSS in Element-Hq Element-Web
CVE-2026-55850
- CVSS
- Not scored
- Public exploits
- None known
- EPSS
- 0.005 · 46.7th percentile
- Published
- 2026-08-21
What to do
- Fixed in
1.12.22- Affected
- 1 affected product
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
EPSS exploit prediction
EPSS 0.005, 46.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Element-Hq Element-Web — versions < 1.12.22