{"id":"CVE-2021-37840","aliases":["EUVD-2021-24319","GHSA-r4vq-r3rv-8p3p"],"status":"published","title":"aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within...","description":"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).","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01675,"percentile":0.77055,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2021-08-02T13:53:57Z","modified":"2026-06-17T04:01:11Z","exploits":[{"source":"pocgithub","id":"EonSecurity/aapanel-ws-bypass","title":"EonSecurity/aapanel-ws-bypass","date":"2026-06-23","url":"https://github.com/EonSecurity/aapanel-ws-bypass"}],"products":[{"vendor":"aapanel","product":"aapanel"}],"references":[{"url":"https://github.com/aaPanel/aaPanel/issues/74","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://ssd-disclosure.com/ssd-advisory-aapanel-cswh-to-rce/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37840"},{"url":"https://github.com/advisories/GHSA-r4vq-r3rv-8p3p"}],"sources":{"cve":[{"id":"CVE-2021-37840","description":"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).","status":"published","published":"2021-08-02T13:53:57Z","modified":"2024-08-04T01:30:08.582Z","updated_at":"2026-11-02T14:32:58.359368Z"}],"euvd":[{"id":"EUVD-2021-24319","description":"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).","status":"published","published":"2021-08-02T13:53:57Z","modified":"2024-08-04T01:30:08Z","updated_at":"2026-11-03T03:24:26.118239Z"}],"ghsa":[{"id":"GHSA-r4vq-r3rv-8p3p","title":"aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within...","description":"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).","status":"published","published":"2022-05-24T19:09:35Z","modified":"2023-01-30T05:01:12Z","updated_at":"2026-11-02T14:46:21.550142Z"}],"nvd":[{"id":"CVE-2021-37840","description":"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).","status":"published","published":"2021-08-02T14:15:07.57Z","modified":"2026-06-17T04:01:11.15Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:56.562207Z"}]}}
