CVE-2026-53529: LeafWiki stored XSS in search result titles

CVE-2026-53529 · Severity: info · CVSS 6.5 · Published 2026-08-21

LeafWiki is a self-hosted wiki application that allows users to create and share wiki pages. Prior to version 0.10.2, a user with editor permissions could inject malicious HTML/JavaScript code into a page title. When other users searched for matching terms, this code could execute in their browsers, potentially allowing attackers to perform unauthorized actions or steal session data. On publicly-accessible deployments, this vulnerability could affect unauthenticated visitors.

Technologies: LeafWiki. Vendors: LeafWiki.

Quick answers

Is CVE-2026-53529 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-53529 being exploited in the wild.
How severe is CVE-2026-53529?
Informational severity, with a CVSS score of 6.5, published 21 August 2026.
Which products and versions are affected?
LeafWiki prior to 0.10.2.
Is there a fix for CVE-2026-53529?
A patch was published on 2026: Fixed in version 0.10.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-53529 attacked?
It is attacked over the network.
Am I affected by CVE-2026-53529?
Check whether you run LeafWiki at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

This is a stored cross-site scripting (XSS) vulnerability in the search results display functionality. The root cause is that page titles returned by the search API are rendered as raw HTML using dangerouslySetInnerHTML without proper sanitization. An attacker with editor or administrator permissions can create or modify a page title containing HTML/JavaScript payload. When another user searches for a term matching the malicious title, the payload executes in the victim's browser context with the victim's permissions. The vulnerability is patched in version 0.10.2 by ensuring author-controlled page titles are properly escaped before rendering while preserving search result highlighting.

Affected products

  • LeafWiki LeafWiki prior to 0.10.2

Timeline

  • 2026-06-05: disclosed: GitHub Security Advisory GHSA-j344-qxqm-wg64 published
  • 2026-08-21: disclosed: CVE-2026-53529 published to NVD
  • 2026: patched: Fixed in version 0.10.2

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.