{"id":"CVE-2021-37840","aliases":["CVE-2021-37840"],"related":[],"kind":"vulnerability","state":"published","title":"aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within WebSocket messages at a ws:// URL for /web…","summary":"aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within WebSocket messages at a ws:// URL for /webssh (the victim must have configured Terminal with at least one host). Successful exploitation depends on the browser used by a potential victim (e.g., exploitation can occur with Firefox but not Chrome).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within WebSocket messages at a ws:// URL for /webssh (the victim must have configured Terminal with at least one host). Successful exploitation depends on the browser used by a potential victim (e.g., exploitation can occur with Firefox but not Chrome).","source":"cvelist"},{"lang":"es","text":"aaPanel versiones hasta 6.8.12, permite un ataque de tipo Cross-Site WebSocket Hijacking (CSWH) que involucra comandos del SO dentro de mensajes WebSocket en una URL ws:// para /webssh (la víctima debe tener configurado el Terminal con al menos un host). Una explotación con éxito depende del navegador usado por la víctima potencial (por ejemplo, la explotación puede ocurrir con Firefox pero no con Chrome)","source":"nvd"}],"published":"2021-08-02T13:53:57.000Z","modified":"2026-06-17T04:01:11.150Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"6.8.12"}],"vendor":"aapanel","product":"aapanel","cpe":"cpe:2.3:a:aapanel:aapanel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/aaPanel/aaPanel/issues/74","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://ssd-disclosure.com/ssd-advisory-aapanel-cswh-to-rce/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-37840","url":"https://www.cve.org/CVERecord?id=CVE-2021-37840","licence":"CVE Terms of Use","modified":"2024-08-04T01:30:08.582Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-37840","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37840","licence":"Public domain","modified":"2026-06-17T04:01:11.150Z"}],"updatedAt":"2026-11-25T22:58:02.922Z","epss":{"score":0.01669,"percentile":0.77466,"date":"2026-12-01T12:00:22.000Z"}}