CVE-2026-142285: WriteFreely through 0.17.3 Stored XSS via XML Post Raw View
WriteFreely through 0.17.3 contains a stored cross-site scripting vulnerability that allows authenticated authors to execute scripts by publishing XHTML-namespaced post bodies served unescaped as application/xml. Attackers can send the .xml post link handled by handleViewPost or viewCollectionPost to administrators, running script in their session to read or change posts and settings.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
WriteFreely installations through version 0.17.3 are affected. Exploitation requires an authenticated author account and relies on an administrator opening an attacker-supplied .xml post link.
What access does an attacker need?
The attacker needs authenticated author privileges to publish a post body using XHTML namespaces. They must then induce an administrator to visit the post's raw XML view.
What could happen if exploitation succeeds?
Script executes in the administrator's browser session. The attacker can use that session context to read or modify posts and settings.