{"id":"CVE-2024-31839","aliases":["CVE-2024-31839","GHSA-c5rv-hjjc-jv7m","GO-2024-2721"],"related":[],"kind":"vulnerability","state":"published","title":"tiagorlampert CHAOS vulnerable to Cross Site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A malicious actor may be able to extract a JWT token via malicious \"/command\" request. This is a form of cross site scripting (XSS).","format":"markdown","source":"go"},{"lang":"es","text":"Vulnerabilidad de cross-site scripting en tiagorlampert CHAOS v.5.0.1 permite a un atacante remoto escalar privilegios a través de la función sendCommandHandler en el componente handler.go.","source":"nvd"}],"published":"2024-04-12T00:00:00.000Z","modified":"2026-06-17T07:28:48.457Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"5.0.1","status":"affected"}],"vendor":"tiagorlampert","product":"chaos","cpe":"cpe:2.3:a:tiagorlampert:chaos:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"5.0.1"}],"ecosystem":"Go","package":"github.com/tiagorlampert/CHAOS","purl":"pkg:golang/github.com/tiagorlampert/CHAOS","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/tiagorlampert/CHAOS","purl":"pkg:golang/github.com/tiagorlampert/CHAOS","source":"go"},{"ranges":[{"status":"affected","version":"5.0.1"}],"vendor":"tiagorlampert","product":"chaos","cpe":"cpe:2.3:a:tiagorlampert:chaos:5.0.1:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/tiagorlampert/CHAOS","tags":["package","product","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://blog.chebuya.com/posts/remote-code-execution-on-chaos-rat-via-spoofed-agents/","tags":["exploit","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31839","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://blog.chebuya.com/posts/remote-code-execution-on-chaos-rat-via-spoofed-agents","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-04-17T16:06:11.359Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-31839","url":"https://www.cve.org/CVERecord?id=CVE-2024-31839","licence":"CVE Terms of Use","modified":"2024-08-02T01:59:50.666Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c5rv-hjjc-jv7m","url":"https://github.com/advisories/GHSA-c5rv-hjjc-jv7m","licence":"CC-BY-4.0","modified":"2024-05-10T14:24:41.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2721","url":"https://pkg.go.dev/vuln/GO-2024-2721","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-31839","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31839","licence":"Public domain","modified":"2026-06-17T07:28:48.457Z"}],"updatedAt":"2026-11-25T22:58:39.129Z","epss":{"score":0.08104,"percentile":0.94947,"date":"2026-12-01T12:00:22.000Z"}}