# CVE-2024-31839: tiagorlampert CHAOS vulnerable to Cross Site Scripting

- Severity: Medium 4.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 8.10%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-12T00:00:00.000Z
- Modified: 2026-06-17T07:28:48.457Z
- Also known as: GHSA-c5rv-hjjc-jv7m, GO-2024-2721
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- tiagorlampert chaos: 5.0.1
- github.com/tiagorlampert/CHAOS (Go): up to 5.0.1; all versions

## Every score

- CISA-ADP: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://blog.chebuya.com/posts/remote-code-execution-on-chaos-rat-via-spoofed-agents/> (exploit)
- <https://github.com/tiagorlampert/CHAOS> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31839> (advisory)
- <https://blog.chebuya.com/posts/remote-code-execution-on-chaos-rat-via-spoofed-agents> (web)

## Sources

- CVE List: [CVE-2024-31839](https://www.cve.org/CVERecord?id=CVE-2024-31839), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-c5rv-hjjc-jv7m](https://github.com/advisories/GHSA-c5rv-hjjc-jv7m), CC-BY-4.0, modified 2024-05-10
- Go Vulnerability Database: [GO-2024-2721](https://pkg.go.dev/vuln/GO-2024-2721), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2024-31839](https://nvd.nist.gov/vuln/detail/CVE-2024-31839), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31839 · Whole record: https://cve.day/CVE-2024-31839.json · Rebuilt by cve.day 2026-11-25T22:58:39.129Z
