{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-123449",
        "assignerOrgId": "9974b330-7714-4307-a722-5648477acda7",
        "state": "PUBLISHED",
        "assignerShortName": "rapid7",
        "dateReserved": "2026-11-05T22:33:02.685Z",
        "datePublished": "2026-12-02T03:43:39.702Z",
        "dateUpdated": "2026-12-02T03:43:39.702Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "9974b330-7714-4307-a722-5648477acda7",
                "shortName": "rapid7",
                "dateUpdated": "2026-12-02T03:43:39.702Z"
            },
            "title": "Velociraptor Reflected XSS in the artifact report error view",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-80",
                            "description": "CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Rapid7",
                    "product": "Velociraptor",
                    "platforms": [
                        "Linux"
                    ],
                    "repo": "https://github.com/Velocidex/velociraptor",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "0.77.4",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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.</p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "http://docs.velociraptor.app/announcements/advisories/cve-2026-123449",
                    "name": "Velociraptor advisory for CVE-2026-123449",
                    "tags": [
                        "vendor-advisory",
                        "release-notes"
                    ]
                },
                {
                    "url": "https://github.com/Velocidex/velociraptor/commit/4040d81cbf4064b62847b931f824abe8f6659191",
                    "name": "Fix commit",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 6.5,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                    }
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "value": "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.\n\n\n\nOnly after the user right clicks a different part of the screen would the JS be run.\n\n\n\nIn practice this is hard to trigger without the user noticing something is wrong.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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.</p><p>Only after the user right clicks a different part of the screen would the JS be run.</p><p>In practice this is hard to trigger without the user noticing something is wrong.</p>"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Joe Mansour",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "Rapid7 Vulnerability Disclosure Program"
            }
        }
    }
}