Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Velociraptor GUI
-
DeliveryStore artifact with oncontextmenu JS payload
-
ExploitVictim opens artifact viewer error path
-
ExecutionRight-click triggers stored XSS
-
ImpactScript runs in victim's session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Velociraptor account (PR:L) able to create or influence artifact content, because the malicious oncontextmenu attribute must be stored and later rendered. The vulnerable sanitizer path is specifically the error path reachable from the artifact viewer, so the payload only fires when a victim user loads that view and the error condition is hit; triggering the script further depends on the victim right-clicking (the oncontextmenu handler). Limiting factors: authenticated access needed to plant the payload, a second (victim) user must view the affected artifact viewer error path and perform a right-click, and only vulnerable versions using the weaker permit regex are affected - all of which narrow realistic exploitation below what the raw CVSS score implies. |
| Impact | Signals are mixed and partly internally inconsistent, so this rates as a moderate, not top-tier, priority. The input gives CVSS 6.5 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, but that vector contradicts the vulnerability class: this is a stored XSS (CWE-80) whose real impact is on the confidentiality/integrity of a victim user's authenticated session, not availability - an A:H/C:N/I:N scoring for an XSS is almost certainly a mislabeled vector and should be verified with the vendor. No EPSS score is provided, the CVE is not on CISA KEV, and no public exploit or PoC is supplied (only a vendor advisory and a patch commit), so there is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month', consistent with a patch-on-normal-cadence item rather than an emergency. Net: real but bounded risk - exploitation requires an authenticated foothold (PR:L) plus a second analyst viewing the malicious content, against a niche DFIR product, which keeps real-world urgency moderate despite the mid-range CVSS. |
| Exploit ScenarioDerived | An authenticated, low-privileged Velociraptor user crafts artifact content containing a right-click (oncontextmenu) handler carrying JavaScript, which the weak sanitizer regex permits. When another analyst opens the artifact viewer and reaches the vulnerable error path, the stored attribute renders, and right-clicking executes the attacker's script in the victim's authenticated session. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Stored cross-site scripting in Rapid7 Velociraptor allows an authenticated user to persist JavaScript into content that is later rendered in another user's browser, because the DOM sanitizer's attribute-permit regular expression failed to block the oncontextmenu right-click handler. The flaw surfaces only through the error path reachable from the artifact viewer, so the payload executes when a victim loads that view and right-clicks; assessments rate it moderate (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) rather than critical, since an attacker needs a Velociraptor account able to create or influence artifact content and a second user must both hit the error path and interact with the page. No CISA KEV entry and no public exploit code were identified at time of analysis, and a vendor advisory plus an upstream fix commit are available, though a released patched version number is not confirmed in the provided data.
RemediationAI
Vendor-released fix: patch available per the Rapid7 advisory, with the upstream fix referenced as commit 4040d81cbf4064b62847b931f824abe8f6659191; the supplied data does not name an exact patched release version, so confirm the minimum fixed build against http://docs.velociraptor.app/announcements/advisories/cve-2026-123449 before scheduling upgrades. Because the flaw is stored and rendered, upgrading the server is the complete fix - clients loading the affected artifact viewer receive the corrected sanitizer from the server. Until upgraded, the assessed preconditions point to two compensating controls derived from the exploitation path: restrict which accounts can create or modify artifacts so untrusted users cannot plant oncontextmenu payloads (trade-off: limits delegation for DFIR analysts who currently author artifacts), and avoid exposing the artifact viewer's error path to content authored by lower-trust users, or keep such content out of shared hunts/collections until the server is patched (trade-off: reduces collaborative triage and requires manual curation of artifact content). Neither control removes the underlying sanitizer weakness, and no vendor-documented workaround is stated in the provided references.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Velociraptor is an endpoint visibility and DFIR platform whose web UI renders HTML content, including artifact output and viewer error messages, through a DOM sanitizer intended to strip dangerous markup and event handlers before insertion into the page. The underlying weakness class is CWE-80, improper neutralization of script-related HTML tags in a web page (basic XSS): the sanitizer relied on a weaker regular expression to whitelist HTML attributes, and that expression matched the right-click handler oncontextmenu, letting an attacker attach JavaScript to an attribute that should never have been permitted. Once the crafted markup is stored, the script is neutralized only if the page is never rendered; when the artifact viewer's error path renders the sanitized-but-incomplete content, the handler is live and fires on the victim's right-click. The affected product is identified by the CPE cpe:2.3:a:rapid7:velociraptor:*:*:*:*:*:*:*:*, meaning the vendor/product pair is flagged without a bounded version range in the supplied data, so the precise cut-off between vulnerable and fixed builds is not enumerated here. Note that the source evidence provided for commit 4040d81 shows file accessor path-prefix and path-traversal hardening in accessors/file/ plus small unrelated changes, not the DOM sanitizer regex itself; the exact code change closing the oncontextmenu gap is therefore not directly confirmed by the supplied diff, only by the referenced vendor advisory and commit.
Know when Velociraptor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Stored XSS needs an authenticated injector (PR:L) and a victim to view and right-click (UI:R); script runs in the victim browser scope (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (rapid7).
CVSS VectorVendor: rapid7
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Velociraptor
View allPrivilege escalation in Velociraptor's notebook VQL execution path allows analyst-role users to bypass the COLLECT_CLIEN
Directory traversal in Rapid7 Velociraptor servers running on Linux before 0.75.6 lets a rogue enrolled client upload a
Velociraptor server 0.77.1 and earlier omits runtime permission enforcement in its sql() VQL plugin, so an authenticated
Privilege escalation in Rapid7 Velociraptor lets any user permitted to schedule client monitoring artifacts run otherwis
Privilege escalation in Rapid7 Velociraptor allows an authenticated user holding only the 'investigator' role to execute
Privilege escalation to administrator in Rapid7 Velociraptor (all versions before 0.77.2) allows an authenticated low-pr
Velociraptor allows collection of VQL queries packaged into Artifacts from endpoints. These artifacts can be used to do
Multi-tenancy authorization bypass in Velociraptor before 0.76.3 allows authenticated GUI users to execute VQL queries a
Privilege escalation in Velociraptor allows any user with the NOTEBOOK_EDIT permission - typically an analyst-level role
Incorrect authorization in the Velociraptor server's VQL plugin layer lets an authenticated user who holds only the NOTE
Rapid7 Velociraptor allows users to be created with different privileges on the server. Rated high severity (CVSS 8.8),
Privilege escalation in Rapid7 Velociraptor's multi-tenant org management allows child org administrators to delete any
EUVD-2026-140844
GHSA-jv6h-7w35-9529
NVD
CVE.org
EPSS
VulDB
Exploit-DB