CVE-2026-64670: Stored XSS in @waline/client Comment Edit Previews
What's Happening
CVE-2026-64670 is a stored cross-site scripting (XSS) vulnerability in the @waline/client npm package, rated CVSS 9.3 (CWE-79, CWE-116). The root cause is the comment edit preview feature, which renders Markdown/HTML content submitted through comment APIs without proper sanitization. An attacker can submit a comment or edit request containing a malicious script payload; when that content is later previewed or rendered to other users, the injected JavaScript executes in their browser context.
Impact
Because the payload is stored and re-rendered for other viewers, this is a persistent XSS primitive. Successful exploitation can lead to:
- Session hijacking against any user who views the comment preview
- Credential theft via injected scripts
- Page defacement or further client-side pivoting
Affected Software
Vendor: npm
Product: @waline/client
Affected versions: ≤ 3.16.2
No patched version is currently listed as available.
Exploitation Status
This vulnerability is tagged PoC public — a proof-of-concept exploit is available, but it has not been confirmed as weaponized in the wild or added to KEV. Defenders should treat this as an elevated-urgency item: public PoCs materially lower the barrier for opportunistic exploitation, especially against a stored XSS flaw where a single malicious comment can affect every subsequent viewer.
How Our Detection Catches It
This detection ships across Microsoft Sentinel (KQL), Splunk (SPL), Elastic (EQL), IBM QRadar (AQL), Sumo Logic, Chronicle (YARA-L), and CrowdStrike (CQL).
At a high level, the logic inspects two signal sources:
- Backend request content: POST/PUT requests to Waline comment endpoints are scanned for script markers (e.g.
<script>tags), inline event-handler attributes (onerror=,onload=, etc.), and encoded/obfuscated HTML frequently used to bypass naive filters. - Browser/CSP telemetry: Content Security Policy violation reports and script-execution telemetry are correlated to identify cases where script execution originates from comment content, confirming successful injection rather than just a suspicious-looking submission.
Combining submission-side and execution-side signals helps reduce false positives from benign Markdown containing code-like text while still catching both the injection attempt and its downstream trigger.
Learn More
For the full detection logic, sample events, investigation guidance, and atomic tests, see the CVE-2026-64670 detection page.