All vulnerabilities

Servers and applications

CVE-2026-104466

YesWiki Wakka markdown image rendering allows stored XSS through unescaped src attribute

Severity
Medium 5.4
Published
1 Sept 2026
Last changed
23 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.7
Exploit chance
0.2% in the next 30 daysHigher than 6% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Also known as
GHSA-7pv9-pwm8-cwwr
Sources
Project advisories (GitHub)

Description

The Wakka formatter's markdown image compatibility path inserts the image src value into a double-quoted HTML attribute without escaping or URL validation. A user who can edit page content or post formatted content can store a crafted markdown image that injects an event-handler attribute and executes JavaScript when another user views the page.

formatters/wakka.php handles markdown image syntax:

The src capture excludes only literal spaces and ), not quotes or tabs, and it is concatenated directly into src="...". Other formatter branches escape normal text and URLs, but this branch does not escape $src with htmlspecialchars() and does not validate the URL scheme.

Page rendering reaches this code through handlers/page/show.php, which formats the saved page body with Wakka:

Comments also store and render Wakka-formatted bodies. CommentService calls $this->wiki->Format($comment['body']), and templates/comment.twig outputs the formatted body with {{ comment.body|raw }}.

From YesWiki/yeswiki's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
YesWikiServers and applications · github:yeswiki/yeswiki
  • Every version before 4.6.7

About YesWiki

Free wiki-style software for building online sharing and collaboration platforms

From Wikidata, CC0 1.0.
GitHub stars
139GitHub, 15 Nov 2026
Forks
75GitHub, 15 Nov 2026
Latest release
v4.7.2GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
PHPWikidata
First released
2009Wikidata
First published on GitHub
9 Sept 2009GitHub

References