CVE-2026-123449: Velociraptor Reflected XSS in the artifact report error view
Published on 2026-11-27
Vulnogram
CVSS · MEDIUM · 6.5 ⁄10 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scoring scenario:
GENERAL
attackVector:
NETWORK
attackComplexity:
LOW
privilegesRequired:
LOW
userInteraction:
NONE
scope:
UNCHANGED
confidentialityImpact:
NONE
integrityImpact:
NONE
availabilityImpact:
HIGH
Description
Velociraptor uses a DOM sanitizer to protect against XSS attacks. Vulnerable versions of Velociraptor used a weaker regular expression to permit certain HTML attributes, which matched the right click handler (`oncontextmenu`). This allowed a stored XSS attack by permitting Javascript to be attached to the right click handler. The vulnerable code was triggered in an error path reachable from artifact viewer.
Problem
CWE-80 Improper neutralization of Script-Related HTML tags in a web page (basic XSS)
Required configuration for exposure
The attacker needs to send the user a malicious link with JS code. After clicking the link, the user is presented with an error box listing the entire decoded malicious payload.
Only after the user right clicks a different part of the screen would the JS be run.
In practice this is hard to trigger without the user noticing something is wrong.
| Product | Affected |
|---|---|
| Rapid7 Velociraptor on
Linux
source repo Default status is unaffected |
before 0.77.4 |
Credits
- Michał Cichorz michal.cichorz.1@gmail.com