CVE-2026-126498
WriteFreely before 0.17.3 contains a stored cross-site scripting vulnerability that allows authenticated authors to inject HTML by supplying a malicious post s…
Impact
WriteFreely before 0.17.3 contains a stored cross-site scripting vulnerability that allows authenticated authors to inject HTML by supplying a malicious post slug via the CreatePost API. The raw slug is concatenated into an anchor by augmentReadingDestination() for paid-shortcode posts, executing script for RSS/Atom feed readers, newsletter recipients and ActivityPub viewers.
An attacker can exploit this over the network, with a regular user account, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Musing Studio
| Product | Affected versions |
|---|---|
| WriteFreely | before 0.17.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/writefreely/writefreely/security/advisories/GHSA-cwxm-8ch5-j2vh
- https://github.com/writefreely/writefreely/commit/d7231d81a914f1314a218d5e8fde6e0341391ccd
- https://github.com/writefreely/writefreely/releases/tag/v0.17.3
- https://github.com/writefreely/writefreely/blob/v0.17.2/postrender.go#L117-L121
- https://github.com/writefreely/writefreely/blob/v0.17.2/database.go#L702-L705
- https://www.vulncheck.com/advisories/writefreely-before-0.17.3-stored-xss-via-unsanitized-post-slug
- https://github.com/advisories/GHSA-43p2-x762-x6h7
- https://nvd.nist.gov/vuln/detail/CVE-2026-126498