CVE-2022-41904 in Element
Element iOS is an iOS Matrix client provided by Element. It is based on MatrixSDK. Prior to version 1.9.7, events encrypted using Megolm for which trust could not be established did not get decorated accordingly (with warning shields). Therefore a malicious homeserver could inject messages into the room without the ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Element | Element | < 1.9.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Element iOS is an iOS Matrix client provided by Element. It is based on MatrixSDK. Prior to version 1.9.7, events encrypted using Megolm for which trust could not be established did not get decorated accordingly (with warning shields). Therefore a malicious homeserver could inject messages into the room without the user being alerted that the messages were not sent by a verified group member, even if the user has previously verified all group members. This issue has been patched in Element iOS 1.9.7. There are currently no known workarounds.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-41904 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-333832-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Published | 2022-11-11 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-357: CWE-357
Analysis AI-written, not human-reviewed
Element iOS versions prior to 1.9.7 do not properly decorate messages encrypted with Megolm when trust cannot be established, allowing a malicious homeserver to inject messages without alerting the user.
A malicious homeserver can inject messages into a room, and these messages will not be flagged with warning shields, making it appear as if they were sent by a verified group member.
Questions
What is CVE-2022-41904?
Element iOS versions prior to 1.9.7 do not properly decorate messages encrypted with Megolm when trust cannot be established, allowing a malicious homeserver to inject messages without alerting the user.
What is the CVSS score for CVE-2022-41904?
CVE-2022-41904 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.6%.
Is CVE-2022-41904 actively exploited?
No confirmed active exploitation of CVE-2022-41904 as of 2026-09-25.
How do I remediate CVE-2022-41904?
Priority: HIGH.
What systems are affected by CVE-2022-41904?
CVE-2022-41904 affects Element Element.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Element","product":"Element","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.