CVE-2026-64670: @waline/client vulnerable to stored XSS through unsanitized comment edit previews
Published 2026-11-25 · Updated 2026-11-25 · Also known as GHSA-crj3-q72p-ggqm
Summary
The @waline/client package renders unsanitized markdown in comment edit previews using v-html and v-show, enabling stored XSS that can be triggered when an administrator edits a malicious comment. Organizations using @waline/client versions up to 3.16.2 should update; no fixed version is documented.
Who is affected
Any deployment of @waline/client from version 0 through 3.16.2 is vulnerable. An unauthenticated attacker can submit a malicious comment containing raw HTML/JavaScript; when an administrator or the comment owner uses the edit feature, the unsanitized content executes in their browser context, allowing theft of the JWT token stored in localStorage and full administrative account takeover.
Exploitability
The CVSS 3.1 base score of 9.3 (CRITICAL) reflects network exploitation (AV:N), low attack complexity (AC:L), no required privileges (PR:N), and user interaction via a single Edit click (UI:R). The attack scope is changed (S:C) with high confidentiality and integrity impact (C:H/I:H) and no availability impact (A:N). EPSS data (0.004, percentile 0.243) indicates low probability of exploitation at the time of assessment, and CISA KEV status is not YES.
Remediation
- Upgrade @waline/client to a version after 3.16.2 if available, otherwise apply a patch that sanitizes the output of parseMarkdown using DOMPurify before returning it
- Review deployments using versions in the affected range [0, 3.16.2] and apply the vendor fix or mitigation
How to check your project
- Check package.json or lock files for @waline/client version less than or equal to 3.16.2
- Audit code for direct use of v-html with user-controlled content in comment editing components
Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | @waline/client |
>= 0, <= 3.16.2 | not published | - |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Changed |
| Confidentiality | High |
| Integrity | High |
| Availability | None |
FAQ
What is the vulnerability in @waline/client?
The component renders comment edit previews with marked markdown parsed into raw HTML without sanitization, injected via v-html in a v-show container, allowing malicious HTML in stored comments to execute when edited.
Who is affected by this vulnerability?
Organizations running @waline/client versions from 0 through 3.16.2, specifically those where administrators or comment owners view the edit interface for comments posted by untrusted users.
How can I verify if my deployment is vulnerable?
Examine your dependency tree to determine if @waline/client version 3.16.2 or earlier is installed, and confirm whether comment editing with preview is enabled in the application.
What is the recommended fix?
Sanitize the output of the parseMarkdown function using DOMPurify before returning HTML, and upgrade to a patched version if one is published after 3.16.2.
Original advisory description
References
- WEB https://github.com/walinejs/waline/security/advisories/GHSA-crj3-q72p-ggqm
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-64670
- PACKAGE https://github.com/walinejs/waline
Source records: GHSA-crj3-q72p-ggqm (OSV.dev) · EPSS by FIRST, 2026-11-25.