CVE-2026-53529: LeafWiki vulnerable to stored XSS via search-result title (highlight() returns raw title into dangerouslySetInnerHTML)

Published Aug 21, 2026
·
Updated

LeafWiki is a self-hosted wiki. Prior to version 0.10.2, page titles returned by the search API could be rendered as raw HTML in the frontend. A user with editor or administrator permissions could create or modify a page title containing an HTML/JavaScript payload. When another user searched for a matching term, the payload could execute in the victim’s browser. The impact depends on deployment configuration. With --public-access enabled, unauthenticated visitors could be affected. In authenticated-only deployments, the issue could be used for cross-user XSS against logged-in users who can access search results. The issue has been fixed in version 0.10.2 by ensuring that author-controlled page titles in search results are not interpreted as raw HTML by the browser while preserving search result highlighting.

Affected Software

1 affected component
LeafWiki LeafWiki<0.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade LeafWiki to a version that resolves this vulnerability.

    Fixed in 0.10.2

Event History

Aug 21, 2026
CVE Published
via MITRE·09:29 PM
Data Sourced
via MITRE·09:29 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue and who can be affected?

An editor or administrator who can create or modify page titles can store an HTML/JavaScript payload in a title. Any user who searches for a matching term may execute that payload; this includes unauthenticated visitors when --public-access is enabled, or logged-in users able to access search results in authenticated-only deployments.

2

Are default or authenticated-only deployments affected?

Authenticated-only deployments are affected if users who can access search results search for titles containing a malicious payload. Public exposure requires --public-access to be enabled.

3

How can I determine whether my deployment is vulnerable?

LeafWiki versions before 0.10.2 are affected. Review whether untrusted editors or administrators could have created page titles containing HTML or JavaScript, and whether users can search for those titles.

4

What should be done to remediate the issue?

Upgrade LeafWiki to version 0.10.2, which prevents author-controlled page titles in search results from being interpreted as raw HTML while retaining highlighting. If public access is enabled, consider the exposure to unauthenticated search users when prioritizing the upgrade.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203