CVE-2026-141331: Mycorrhiza Wiki before 1.16.1 Stored XSS via Uploaded Media Content Type
Mycorrhiza Wiki before 1.16.1 contains a stored cross-site scripting vulnerability that allows editors to serve HTML and JavaScript from the wiki origin by choosing the upload Content-Type in handlerUploadBinary. Attackers can lure an administrator to the uploaded page served via /binary/<hypha> without nosniff or sandboxing, abusing missing CSRF protection to promote themselves to administrator.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker needs editor-level access to upload media with an attacker-chosen Content-Type. They must then lure an administrator into visiting the uploaded content under /binary/<hypha>.
What is the likely impact if exploitation succeeds?
The uploaded HTML or JavaScript runs from the wiki origin in the administrator's browser. Because CSRF protection is missing, the attacker can abuse that access to promote their own account to administrator.
Are installations affected by default?
The issue affects Mycorrhiza Wiki versions before 1.16.1 where editors can use handlerUploadBinary. Exploitation depends on an administrator visiting the attacker-controlled uploaded page.
What should be done if an immediate upgrade is not possible?
Restrict or suspend untrusted editor accounts' ability to upload binary media, and avoid opening uploaded content through /binary/<hypha>, especially while authenticated as an administrator. Review uploaded media for HTML or JavaScript served with attacker-controlled Content-Type values.