{"id":"CVE-2026-142284","summary":"WriteFreely through 0.17.3 Cross-Site Request Forgery via Post API","details":"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.","modified":"2026-12-02T18:00:58.777972233Z","published":"2026-12-02T16:49:12.115Z","database_specific":{"cwe_ids":["CWE-352"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142284.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142284.json"},{"type":"PACKAGE","url":"https://github.com/writefreely/writefreely"},{"type":"ARTICLE","url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L565-L590"},{"type":"ARTICLE","url":"https://github.com/writefreely/writefreely/blob/v0.17.3/routes.go#L159-L164"},{"type":"ARTICLE","url":"https://github.com/writefreely/writefreely/blob/v0.17.3/session.go#L42-L51"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142284"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/writefreely-through-0.17.3-cross-site-request-forgery-via-post-api"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/writefreely/writefreely","events":[{"introduced":"0"},{"last_affected":"d2485910010b1671a6e4341ab36cd199b7868e8d"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"0.17.3"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.2","v0.13.1","v0.13.0","v0.13.0rc1","v0.11.2","v0.12.0","v0.12.0rc1","v0.11.1","v0.11.0","v0.10.0","v0.9.1","v0.9.0","v0.6.0","v0.7.1","v0.7.0","v0.5.0","v0.4.0","v0.3.0","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142284.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}