Velociraptor versions prior to the fix used a DOM sanitizer with a weak regular expression that allowed the 'oncontextmenu' HTML attribute, enabling stored cross-site scripting (XSS) attacks. This vulnerability could be triggered in an error path accessible from the artifact viewer component. The flaw permits JavaScript execution via the right-click handler, potentially impacting application availability.