{"id":"CVE-2021-22886","state":"PUBLISHED","title":"Rocket.Chat before 3.11, 3.10.5, 3.9.7, 3.8.8 is vulnerable to persistent cross-site scripting (XSS) using nested markdown tags allowing a remote attacker to inject arbitrary JavaS","description":"Rocket.Chat before 3.11, 3.10.5, 3.9.7, 3.8.8 is vulnerable to persistent cross-site scripting (XSS) using nested markdown tags allowing a remote attacker to inject arbitrary JavaScript in a message. This flaw leads to arbitrary file read and RCE on Rocket.Chat desktop app.","publishedAt":"2021-03-26T18:15:54.000Z","updatedAt":"2024-08-03T18:58:24.679Z","severity":null,"assigner":"hackerone","products":["n/a Rocket.Chat"],"affected":[{"vendor":"n/a","product":"Rocket.Chat","versions":[{"version":"Fixed in 3.11, 3.10.5, 3.9.7, 3.8.8","status":"affected"}]}],"references":["https://docs.rocket.chat/guides/security/security-updates","https://hackerone.com/reports/1014459","https://github.com/RocketChat/Rocket.Chat/pull/20430"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:48:02.192Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/22xxx/CVE-2021-22886.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-22886","state":"PUBLISHED","datePublished":"2021-03-26T18:15:54.000Z","dateUpdated":"2024-08-03T18:58:24.679Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2021-01-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Rocket.Chat before 3.11, 3.10.5, 3.9.7, 3.8.8 is vulnerable to persistent cross-site scripting (XSS) using nested markdown tags allowing a remote attacker to inject arbitrary JavaScript in a message. This flaw leads to arbitrary file read and RCE on Rocket.Chat desktop app."}],"affected":[{"vendor":"n/a","product":"Rocket.Chat","versions":[{"version":"Fixed in 3.11, 3.10.5, 3.9.7, 3.8.8","status":"affected"}]}],"references":[{"url":"https://docs.rocket.chat/guides/security/security-updates","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/1014459","tags":["x_refsource_MISC"]},{"url":"https://github.com/RocketChat/Rocket.Chat/pull/20430","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"Cross-site Scripting (XSS) - Stored (CWE-79)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2021-03-26T18:15:54.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2021-22886","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Rocket.Chat","version":{"version_data":[{"version_value":"Fixed in 3.11, 3.10.5, 3.9.7, 3.8.8"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Rocket.Chat before 3.11, 3.10.5, 3.9.7, 3.8.8 is vulnerable to persistent cross-site scripting (XSS) using nested markdown tags allowing a remote attacker to inject arbitrary JavaScript in a message. This flaw leads to arbitrary file read and RCE on Rocket.Chat desktop app."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Cross-site Scripting (XSS) - Stored (CWE-79)"}]}]},"references":{"reference_data":[{"name":"https://docs.rocket.chat/guides/security/security-updates","refsource":"MISC","url":"https://docs.rocket.chat/guides/security/security-updates"},{"name":"https://hackerone.com/reports/1014459","refsource":"MISC","url":"https://hackerone.com/reports/1014459"},{"name":"https://github.com/RocketChat/Rocket.Chat/pull/20430","refsource":"MISC","url":"https://github.com/RocketChat/Rocket.Chat/pull/20430"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://docs.rocket.chat/guides/security/security-updates","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://hackerone.com/reports/1014459","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/RocketChat/Rocket.Chat/pull/20430","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:58:24.679Z"}}]}}}