Cyber Resilience

CVE-2024-31839

MediumPublic PoC

Published: 12 April 2024

Published
12 April 2024
Modified
17 June 2025
KEV Added
Patch
CVSS Score v3.1 4.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Score 0.8464 99.4th percentile
Risk Priority 60 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-31839 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Tiagorlampert Chaos. Its CVSS base score is 4.8 (Medium).

Operationally, ranked in the top 0.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

CVE-2024-31839 is a cross-site scripting vulnerability affecting tiagorlampert CHAOS version 5.0.1. The flaw resides in the sendCommandHandler function within the handler.go component and is tracked under CWE-79. It carries a CVSS 3.1 base score of 4.8, reflecting network attack vector, high attack complexity, and no required privileges or user interaction.

A remote attacker can exploit the issue to escalate privileges, resulting in limited impacts to confidentiality and integrity with no availability effect. The provided references consist of a technical blog post discussing remote code execution against the CHAOS RAT through spoofed agents together with the project's GitHub repository; neither source details official patches or mitigation steps.

The associated EPSS score stands at 0.8464 with a recorded peak of 0.8536, indicating sustained exploitation interest after disclosure.

EU & UK References

Vulnerability details

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.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

tiagorlampert
chaos
5.0.1

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References