Original description
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.
Affected software
- WriteFreely < 0.17.3 Fixed in: 0.17.3 repository or package match
Details
- Published
- 2026-11-11
- Last modified
- 2026-11-14
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 0.23% (percentile 14)
References
- cve.org/CVE-2026-126498
- nvd.nist.gov/vuln/detail/CVE-2026-126498
- github.com/writefreely/writefreely/security/advisories/GHSA-cwxm-8ch5-j2vh
- github.com/writefreely/writefreely/commit/d7231d81a914f1314a218d5e8fde6e0341391ccd
- github.com/writefreely/writefreely/releases/tag/v0.17.3
- github.com/writefreely/writefreely/blob/v0.17.2/postrender.go#L117-L121
- github.com/writefreely/writefreely/blob/v0.17.2/database.go#L702-L705
- www.vulncheck.com/advisories/writefreely-before-0.17.3-stored-xss-via-unsanitized-post-slu...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.