CVE-2026-64670

Stored XSS in @waline/client via the unsanitized markdown preview of a comment's raw body on edit

Published Nov 11, 2026 CVSS 3.1 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Waline, a comment system, renders an edit preview of comment bodies using marked without sanitization and inserts the output via v-html. An unchecked comment body can contain malicious HTML; when an administrator or comment owner clicks Edit on such a comment, the raw payload is rendered in the admin’s session. This stored XSS allows an attacker to inject code that runs with moderator privileges, enabling credential theft, defacement, or further attacks.

Affected Systems

Waline comment system (walinejs:waline) version 3.15.2 and earlier is affected. The issue resides in the client component @waline/client where the markdown preview is unsanitized.

Risk and Exploitability

The CVSS base score is 9.3, indicating a severe risk. The EPSS score is below 1 %, suggesting a low but non‑zero exploitation probability, and the vulnerability is not yet listed in CISA’s KEV catalog. The attack requires that the victim has administrator or comment‑owner privileges and that they edit an attacker‑controlled comment, after which malicious JavaScript is executed in their session. No automated exploit has been reported, but the stored XSS gives attackers local privilege escalation. The impact is contained to accounts with edit rights.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Waline to the latest release when a security fix that sanitizes the preview is released.
  • If a newer release is unavailable, modify the client configuration to remove the live preview feature or apply an explicit HTML sanitizer before rendering with v-html.
  • Restrict the edit permission so that only the original comment author can edit, removing administrator edit rights until a patch is deployed.

Generated by OpenCVE AI on November 13, 2026 at 22:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-crj3-q72p-ggqm @waline/client vulnerable to stored XSS through unsanitized comment edit previews
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Waline
Waline waline
Vendors & Products Waline
Waline waline
Type Values Removed Values Added
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.
Title Stored XSS in @waline/client via the unsanitized markdown preview of a comment's raw body on edit
Weaknesses CWE-116
CWE-79
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 12, 2026, 7:32 PM
Reserved
Jul 20, 2026, 5:12 PM
Status
Deferred
Published
Nov 11, 2026, 5:19 AM
Modified
Nov 12, 2026, 8:18 PM