{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-37840","published":"2021-08-02T14:15:07.570000Z","last_modified":"2026-06-17T04:01:11.150000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:aapanel:aapanel:*:*:*:*:*:*:*:*","part":"a","vendor":"aapanel","product":"aapanel","version_end_including":"6.8.12"}],"cpes_truncated":false,"vendors":["aapanel"],"products":["aapanel/aapanel"],"epss":{"score":0.01669,"percentile":0.77204,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2021-37840/","html_en":"/en/cve/CVE-2021-37840/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-37840","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-37840"},"untrusted":{"vendor_name":"Aapanel","product_name":"Aapanel","desc_en":"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).","affected":[],"references":[{"url":"https://github.com/aaPanel/aaPanel/issues/74","tags":["Exploit","Third Party Advisory"]},{"url":"https://ssd-disclosure.com/ssd-advisory-aapanel-cswh-to-rce/","tags":["Exploit","Third Party Advisory"]}]}}