AploSec / Disclosures / CVE-2026-142284
WriteFreely through 0.17.3 Cross-Site Request Forgery via Post API
CVE-2026-142284 · published 2026-12-02
In plain words: this type of bug lets another website perform actions as a logged-in user (cross-site request forgery, CSRF). No fixed release is listed yet.
Summary
CVE-2026-142284 affects WriteFreely (Go) <= 0.17.3: Cross-Site Request Forgery via Post API (CWE-352). No fixed release is listed. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
WriteFreely through 0.17.3 contains a cross-site request forgery vulnerability in the newPost and existingPost handlers that allows attackers to publish or edit posts as a logged-in user. Attackers can lure users to a malicious page submitting form-encoded requests to /api/posts, where the SameSite=None session cookie authenticates them, to publish or overwrite blog posts.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/writefreely-through-0.17.3-cross-site-request-forgery-via-post-api
- Vulnerable codehttps://github.com/writefreely/writefreely/blob/v0.17.3/routes.go#L159-L164
- Vulnerable codehttps://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L565-L590
- Vulnerable codehttps://github.com/writefreely/writefreely/blob/v0.17.3/session.go#L42-L51
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142284
- Severity
- Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- WriteFreely
- Ecosystem
- Go
- Affected
- <= 0.17.3
- Fixed
- None
- Weakness
- CWE-352
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder