CVE-2026-142284: WriteFreely through 0.17.3 Cross-Site Request Forgery via Post API
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.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
An attacker needs to lure a user who is logged in to WriteFreely to visit a malicious page. That page can submit a form-encoded request to the /api/posts endpoint, and the user's SameSite=None session cookie authenticates the request.
What can an attacker do through a successful attack?
The attacker can publish posts or edit existing posts using the logged-in user's account. The described impact is limited to modification of blog-post content.
How can I determine whether my deployment is in scope?
Deployments of WriteFreely through version 0.17.3 are affected according to the provided information. The vulnerable request path is /api/posts, handled by the newPost and existingPost handlers.