{"id":"CVE-2021-22911","published":"2021-05-27T11:14:39Z","modified":"2024-08-03T18:58:25Z","title":"A improper input sanitization vulnerability exists in Rocket.Chat server 3.11, 3.12 & 3.13 that could lead to…","vendor":null,"product":null,"tier":"core","eol":null,"affectedVersions":[{"vendor":"n/a","product":"Rocket.Chat server","versions":["Fixed in: 3.13.2, 3.12.4, 3.11.4"]}],"description":{"text":"A improper input sanitization vulnerability exists in Rocket.Chat server 3.11, 3.12 & 3.13 that could lead to unauthenticated NoSQL injection, resulting potentially in RCE.","provenance":"source","from":"CVE.org"},"summary":{"text":"The vulnerability is an improper input sanitization flaw in the Rocket.Chat server, affecting versions 3.11, 3.12 and 3.13. An attacker can perform unauthenticated NoSQL injection, which could potentially lead to remote code execution, with no authentication required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T14:56:10Z"},"cvss":null,"epss":{"score":0.95242,"percentile":0.99915,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-11-14","exploitedFirstSeen":"2023-11-14","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-22911","date":"2023-11-14"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":4,"pulses":[{"name":"Spam “Broken Seal” DocuSign-themed Delivery w/Fileless Process Hollowing (Zeppelin/Bloat-A) by msudosos","url":"https://otx.alienvault.com/pulse/69bf64eccb5d39a90a3c391e","created":"2026-03-22"},{"name":"Spam “Broken Seal” DocuSign-themed Delivery w/Fileless Process Hollowing (Zeppelin/Bloat-A) by msudosos","url":"https://otx.alienvault.com/pulse/69bf64e1d5e06aa6207f78de","created":"2026-03-22"},{"name":"CVE Data","url":"https://otx.alienvault.com/pulse/69929b597293fe5837b9c95c","created":"2026-02-16"},{"name":"“Broken Seal” DocuSign-themed Delivery with Fileless Process Hollowing (Zeppelin/Bloat-A)","url":"https://otx.alienvault.com/pulse/698e93e1ab02db8c49e8c3ed","created":"2026-02-13"}],"provenance":"machine"},"cwes":[{"id":"CWE-75","name":"Failure to Sanitize Special Elements into a Different Plane"}],"references":[{"url":"https://hackerone.com/reports/1130721","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://blog.sonarsource.com/nosql-injections-in-rocket-chat","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-10040","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-10040","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":49960,"url":"https://www.exploit-db.com/exploits/49960","title":"Rocket.Chat 3.12.1 - Unauthenticated NoSQL Injection","type":"webapps","platform":"linux","date":"2021-06-07","verified":true,"provenance":"source"},{"id":50108,"url":"https://www.exploit-db.com/exploits/50108","title":"Rocket.Chat 3.12.1 - Unauthenticated NoSQL Injection to Remote Code Execution (RCE)","type":"webapps","platform":"linux","date":"2021-07-07","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2021-06-07"},"pocGithub":{"count":7,"skipped":5,"earliest":"2021-06-05","earliestUrl":"https://github.com/CsEnox/CVE-2021-22911","repos":[{"name":"CsEnox/CVE-2021-22911","url":"https://github.com/CsEnox/CVE-2021-22911","stars":61,"created":"2021-06-05"},{"name":"optionalCTF/Rocket.Chat-Automated-Account-Takeover-RCE-CVE-2021-22911","url":"https://github.com/optionalCTF/Rocket.Chat-Automated-Account-Takeover-RCE-CVE-2021-22911","stars":10,"created":"2021-07-30"},{"name":"Faridi-m/CVE-2021-22911-RocketChat","url":"https://github.com/Faridi-m/CVE-2021-22911-RocketChat","stars":2,"created":"2026-03-04"},{"name":"roshanrajbanshi/rocketcat-cve-2021-22911-exploit","url":"https://github.com/roshanrajbanshi/rocketcat-cve-2021-22911-exploit","stars":1,"created":"2026-04-10"},{"name":"jayngng/CVE-2021-22911","url":"https://github.com/jayngng/CVE-2021-22911","stars":0,"created":"2021-09-19"}]},"nuclei":[{"id":"CVE-2021-22911","name":"Rocket.Chat <=3.13 - NoSQL Injection","severity":"critical","path":"http/cves/2021/CVE-2021-22911.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-22911.yaml"}],"first":{"date":"2021-06-05","source":"PoC-in-GitHub","url":"https://github.com/CsEnox/CVE-2021-22911"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html","http://packetstormsecurity.com/files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html"],"flow":[],"timeline":[{"date":"2021-05-27","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-22911","provenance":"source"},{"date":"2021-06-05","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2021-06-07","url":"https://github.com/CsEnox/CVE-2021-22911","provenance":"source"},{"date":"2023-11-14","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-22911","provenance":"source"}],"speed":{"daysToPublicExploit":9,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":61.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1107 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.98,"detail":"percentile 0.9991"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 Exploit-DB entries; 2 NVD exploit links; 7 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.59,"detail":"4 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}