Cross-site scripting in Rocket.chat
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-79.
Summary
A cross-site scripting vulnerability exists in Rocket.chat <v5 due to style injection in the complete chat window, an adversary is able to manipulate not only the style of it, but will also be able to block functionality as well as hijacking the content of targeted users. Hence the payloads are stored in messages, it is a persistent attack vector, which will trigger as soon as the message gets viewed.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Rocket.chat | Fixed in 5.0> | — | No fix listed | CNA |
- Rocket.chat Vendor— Affected Fixed in 5.0> Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:* | before 5.0 | Vulnerable | Rocket.Chat |
- cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:* Versions before 5.0 Vulnerable ·Rocket.Chat
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-35251
- 2026-10-03 Alias added: GHSA-72rp-xxph-m42m
- 2026-10-21 EPSS moved to the 50th–90th percentile
References
More Rocket.chat vulnerabilities
- TI-2021-05772 A improper input sanitization vulnerability exists in Rocket.Chat server 3.11, 3.12 &… CVSS 3.1CRITICAL 9.8
- TI-2022-13921 SQL injection in Rocket.Chat CVSS 3.1HIGH 8.8
- TI-2026-18910 Rocket.Chat Unauthorized Access to OAuth App Details CVSS 3.1HIGH 7.7
- TI-2022-12398 Improper authentication in Rocket.Chat Mobile app CVSS 3.1MEDIUM 6.8
- TI-2022-13929 Information disclosure in Rocket.Chat CVSS 3.1MEDIUM 6.5
- TI-2025-05318 RocketChat parseMessage.js parseMessage redos CVSS 4.0MEDIUM 5.3
Sources
- CVE-2022-35251 · CVE Program
- CVE-2022-35251 · NVD
- FIRST EPSS
- GHSA-72rp-xxph-m42m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences