2084-W-261125-080VulnerabilitiesPatch NotesGlobal
Stored XSS in @waline/client edit preview can hand attackers admin sessions
Automated report: written by AI from the sources listed below and checked by automated fact-checks. No human editor reviewed it before publication. Report an error →
@waline/client, a comment system, renders the comment editor's live preview through marked without a sanitizer, and the preview is injected with v-html, according to a GitHub Security Advisory. When a comment is edited, the editor is seeded with the raw, unsanitized body, so an administrator who clicks Edit on an attacker's comment renders that HTML in their own session. The advisory says an unauthenticated commenter can achieve privilege-escalation stored XSS against a moderator with a single Edit click, and that the payload can read the JWT from same-origin localStorage, yielding administrative account takeover. Versions up to and including 3.16.2 are affected. GitHub rates it 9.3 (CVSS v3.1, per GitHub Security Advisories). The advisory suggests sanitizing the markdown output with DOMPurify.
AI-written · not human-reviewed
Sources
- GitHub Security Advisories · @waline/client vulnerable to stored XSS through unsanitized comment edit previews