# CVE-2022-35251: A cross-site scripting vulnerability exists in Rocket.chat <v5 due to style injection in the complete chat window, an adversary is able to…

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A: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.63%, higher than 45% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-23T18:28:12.000Z
- Modified: 2026-06-17T04:51:39.373Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: hackerone

## Description

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.

(As written by CVE List.)

## Affected

- Rocket.chat: Fixed in 5.0>
- rocket.chat rocket.chat: before 5.0

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://hackerone.com/reports/1401268> (exploit, issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2022-35251](https://www.cve.org/CVERecord?id=CVE-2022-35251), CVE Terms of Use, modified 2025-05-22
- NVD: [CVE-2022-35251](https://nvd.nist.gov/vuln/detail/CVE-2022-35251), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-35251 · Whole record: https://cve.day/CVE-2022-35251.json · Rebuilt by cve.day 2026-11-25T22:58:15.272Z
