Skip to main content
HIGH

CVE-2021-37840

CVSS v3

8.8

HIGH

EPSS Score

1.7 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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).

Technical details

Published
2021-08-02

Frequently asked questions

What is CVE-2021-37840?

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).

Is CVE-2021-37840 actively exploited?

Active exploitation of CVE-2021-37840 has not been confirmed. Its EPSS score was 1.7% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-37840?

CVE-2021-37840 has a CVSS v3 base score of 8.8 (HIGH severity).

Is CVE-2021-37840 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key