Bug 2588371 (CVE-2026-123449)

Summary: CVE-2026-123449 github.com/Velocidex/velociraptor: velociraptor: Velociraptor: Stored cross-site scripting via improper HTML attribute sanitization
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Velociraptor. An attacker could execute arbitrary web scripts in a user's browser session via stored cross-site scripting (XSS). This issue occurs because the application's HTML input sanitizer incorrectly allows dangerous event attributes, such as right-click handlers. When a user views affected artifact error logs containing the payload, the embedded script executes within their browser context.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-02 03:51:31 UTC
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.