{"id":"CVE-2026-55850","published":"2026-08-21T18:30:12Z","modified":"2026-08-21T19:54:55Z","title":"Element Web: A malicious homeserver can inject HTML in Element Web using its homepage","vendor":"element-hq","product":"element-web","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00547,"percentile":0.39432,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/element-hq/element-web/security/advisories/GHSA-wrcp-5v3v-3j6v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/element-hq/element-web/commit/7949980a7e3c7e397d7afe899ef1b0563c417b0e","tags":["x_refsource_MISC"]},{"url":"https://github.com/element-hq/element-web/releases/tag/v1.12.22","tags":["x_refsource_MISC"]},{"url":"https://www.machinespirits.com/advisory/563a17","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.89},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"element-hq","affectedVersions":[{"vendor":"element-hq","product":"element-web","versions":["< 1.12.22"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T19:54:43.766385Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-64046","exploited":false,"provenance":"source"}}