CVE-2024-31839: Cross Site Scripting vulnerability in tiagorlampert CHAOS v.5.0.1 allows a remote attacker to escalate privile
CVE-2024-31839 is a medium-severity flaw (CVSS 4.8) affecting chaos. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Cross Site Scripting vulnerability in tiagorlampert CHAOS v.5.0.1 allows a remote attacker to escalate privileges via the sendCommandHandler function in the handler.go component.
Why this priority
- EPSS top 5%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 4.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 8.1% (top 5%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-04-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Metasploit: Chaos RAT XSS to RCE
- Nuclei scan template: CHAOS 5.0.1 'sendCommandHandler' - Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-31839?
chaos: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-31839 being exploited?
CVE-2024-31839 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-31839 affect?
CVE-2024-31839 affects chaos. Severity is medium (CVSS 4.8). Cross Site Scripting vulnerability in tiagorlampert CHAOS v.5.0.1 allows a remote attacker to escalate privileges via the sendCommandHandler function in the handler.go component.
How urgent is CVE-2024-31839?
Priority 51/100. EPSS top 5%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action