CVE-2026-64670

@waline/client vulnerable to stored XSS through unsanitized comment edit previews

Critical published · updated · also known as GHSA-CRJ3-Q72P-GGQM

9.3
CVSS score out of 10 · NVD (github.com)

Description

Waline is a comment system with backend support. In versions 3.15.2 and prior, @waline/client renders the comment editor's live preview with marked and no sanitizer (utils/markdown.ts), and the preview is injected with v-html. When a comment is edited, the editor is seeded with the comment's raw, un-sanitized body (orig). Only administrators and the comment owner can edit. So an administrator who clicks Edit on an attacker's comment renders that attacker's raw HTML in their own session: an unauthenticated commenter achieves privilege-escalation stored XSS against a moderator with a single Edit click. At time of publication, there are no publicly available patches.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
@waline/client npm <= 3.16.2— GitHub

References