Skip to main content

Waline CVE-2026-64670

| EUVDEUVD-2026-123129 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 GitHub_M GHSA-crj3-q72p-ggqm
9.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Post crafted comment anonymously via POST /api/comment
  2. Delivery
    Raw XSS payload stored unsanitized in comment orig field
  3. Exploit
    Moderator clicks Edit during routine moderation
  4. Execution
    onerror fires in admin session via v-html preview
  5. Impact
    Exfiltrate localStorage JWT and take over admin account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires @waline/client version <= 3.15.2 and that an administrator or the comment's owner click Edit on the attacker's comment within the Waline admin/moderation UI; no special server configuration is needed because the client's default markdown preview (utils/markdown.ts) renders with marked and no sanitizer and injects via v-html. The payload lands without the attacker authenticating (anonymous POST /api/comment), and because the preview uses v-show (display:none) rather than v-if the <img onerror> node is in the DOM and fires without the moderator opening the preview tab. Limiting factors: exploitation depends on a privileged user (admin or comment owner) performing the Edit action - purely public page views are safe because the server sanitizes the display copy - and the attacker gains code execution only in that victim's browser session, not directly on the server.

Impact

This is a genuine high-priority issue, not a CVSS-inflated one. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N, 9.3) describes a network-reachable, low-complexity flaw that an unauthenticated attacker can plant (PR:N - anyone can post a comment) and that crosses a privilege boundary (S:C) to compromise a moderator's session. The only brake is UI:R: a moderator or comment owner must click Edit. Critically, that interaction is an ordinary, expected moderation action rather than a contrived click, and the advisory shows the payload fires via v-show/v-html without the admin ever opening the preview tab - so UI:R understates real-world likelihood. The vuln.today Decision label is act_now and the advisory states there is no patch, which together argue for urgency. Countervailing/missing signals: no EPSS score was supplied, so statistical exploitation probability cannot be quoted; the vulnerability is NOT in CISA KEV, so there is no confirmed active exploitation; and a detailed proof-of-concept is published in the GHSA advisory but the input does not mark it as verified working exploit code. Net: treat as a real priority (unauthenticated-to-admin stored XSS with public PoC and no fix) while noting that active-exploitation and EPSS evidence are absent.

Exploit ScenarioDerived

An anonymous attacker posts a comment whose body contains an <img onerror=...> payload; the server sanitizes the public display copy, so it merely shows as a broken image to ordinary readers while the raw body is stored in the orig field. During routine moderation an administrator clicks Edit on that comment, the @waline/client editor seeds its live preview from the raw orig and renders it through marked with no sanitizer into a v-html node, firing the payload in the admin's session and exfiltrating their localStorage JWT for full account takeover. A public proof-of-concept with exact request and payload is published in the GHSA advisory; it is not verified as working exploit code in the input.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 11, 2026

Stored cross-site scripting in the Waline comment system (npm @waline/client 3.15.2 and earlier) lets an unauthenticated commenter plant raw HTML in a comment body that executes in an administrator's or comment owner's browser the moment they click Edit during routine moderation. The sink is the client editor's live preview, which renders the pre-sanitization comment body with marked and injects it through v-html; because the preview node uses v-show (display:none) rather than v-if it is already in the DOM at mount, so an img onerror payload fires without the moderator ever opening the preview tab. Successful exploitation yields full administrative account takeover, since the Waline JWT is stored in same-origin localStorage, and the vendor advisory states there are no publicly available patches at publication; the advisory does publish a step-by-step proof-of-concept payload, and no in-the-wild exploitation or CISA KEV listing is reported.

RemediationAI

No vendor-released patch identified at time of analysis; the GHSA advisory (https://github.com/walinejs/waline/security/advisories/GHSA-crj3-q72p-ggqm) states that no public patches exist and lists no fixed version, so track it for a patched @waline/client release. The fix described in the advisory is to add dompurify to @waline/client and wrap the return of parseMarkdown in packages/client/src/utils/markdown.ts, mirroring the existing server guard with FORBID_TAGS ['form','input','style'] and FORBID_ATTR ['autoplay','style'] - this removes the raw-HTML sink while preserving markdown preview behavior for legitimate content. Two supporting code changes close the same path: replace v-show on the preview container with v-if so the v-html node does not exist until the moderator actually opens the preview, and stop seeding the editor with the unsanitized orig value (use the sanitized body instead), with the trade-off that editors then see stripped or normalized markup. Interim compensating controls for operators who cannot patch: disable the editor's live preview so previewText is never bound through v-html, at the cost of authors losing live preview, or restrict comment editing to administrators editing only their own comments - this narrows but does not eliminate exposure, since any Edit click on an attacker-supplied comment still fires the payload. Keep the server-side display sanitization in place, as it is what currently keeps the public listing safe, and watch the advisory for a fixed release before restoring full editing functionality.

Affected VersionsENISA

waline ≤ 3.15.2

Affected Packages

npm @waline/client no fix
euvd waline no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79 (with CWE-116 improper encoding also cited) in the Vue-based client component. packages/client/src/utils/markdown.ts returns the output of marked.parse() verbatim - @waline/client bundles no DOMPurify - and CommentBox.vue binds that string to a div via v-html (:621). In edit mode the component seeds editor.value from props.edit.orig (:509) and a watchImmediate callback (:519) synchronously populates previewText at mount, so the render happens before the moderator interacts with the preview tab; v-show (:616) rather than v-if keeps the injected node mounted, allowing <img onerror> to fire immediately. The taint source is server-side: packages/server/src/controller/comment.js sets comment.orig = comment.comment for any logged-in user at :41, before DOMPurify runs at :55, so orig is the raw pre-sanitization body; formatCmt returns it to logged-in users and CommentCard.vue (:104) exposes the Edit button to administrators or the comment owner. The public comment listing is safe because the server sanitizes the display copy (markdown-it then DOMPurify), which is why only the edit preview is exploitable. The scope-changed CVSS rating (S:C) fits: the vulnerable client component compromises the moderator's session and localStorage JWT rather than the server directly. Exploitation requires no authentication on the attacker side (PR:N) but depends on a privileged user clicking Edit (UI:R).

Know when Waline gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 9.3 CRITICAL

Anonymous comment post gives PR:N; a moderator must click Edit so UI:R; the script runs in the admin's authenticated session across a privilege boundary (S:C) stealing the JWT, so C:H/I:H and A:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-79, Improper Neutralization of Input During Web Page Generation.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Waline, the comment system used on our public-facing websites, contains a critical stored cross-site scripting flaw (CVE-2026-64670) that allows any unauthenticated visitor to plant malicious code in a comment. When a moderator simply clicks 'Edit' on that comment during routine moderation, the code executes in their browser and can lead to full administrative account takeover, compromising the website's comment system and potentially the moderator's own accounts. Leadership should care because this requires no special access and is triggered by normal staff activity, putting our brand reputation and customer trust at risk.

Business Impact: High
Compensating Controls

Temporarily disable the comment system or the live preview feature; implement a strict Content Security Policy that blocks inline scripts and untrusted sources; deploy input sanitization at the server or reverse proxy; restrict moderation access to trusted networks; monitor for anomalous administrative activity.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche open-source self-hosted blog comment system, limited deployment footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Related Vulnerabilities in Waline Comment System XSS Vulnerabilities

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy