Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure authenticated WriteFreely user to malicious page
-
ExploitAuto-submit forged form-encoded request to /api/posts
-
ExecutionSameSite=None session cookie authenticates request
-
ImpactPublish new or overwrite existing blog posts as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a victim who is actively logged into the WriteFreely instance, because the attack relies on the application setting a SameSite=None session cookie (session.go) that browsers attach to cross-site requests; the attacker must then lure that authenticated victim to a page that submits a form-encoded request to the /api/posts endpoint handled by newPost/existingPost. Limiting factors: success depends on passive user interaction (the victim must visit the attacker's page while holding a valid session), the impact is confined to publishing or overwriting the victim's own posts (integrity only - no confidentiality or availability loss), and instances that do not use SameSite=None session cookies would not be exploitable in the described manner. |
| Impact | This is a genuine but moderate-severity integrity issue, not a high-urgency emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N, score 5.3) indicates a network-reachable, low-complexity attack that requires passive user interaction (UI:P) and yields only limited integrity impact (VI:L) with no confidentiality or availability loss - consistent with the CWE-352 CSRF class and the description. The vuln.today priority decision label is 'this_month' (not act_now/emergency), which aligns with the moderate score. No CISA KEV listing is present, no EPSS probability was provided in the input, and no exploit/POC reference is supplied - only source-code references and a VulnCheck advisory - so this should be treated as 'no public exploit identified at time of analysis.' A notable nuance: although the CVSS marks PR:N (attacker needs no privileges), real exploitation depends on the VICTIM being an authenticated WriteFreely user whose SameSite=None session cookie is sent cross-site; the impact is scoped to publishing or overwriting that victim's own blog posts rather than full account or server compromise. Overall this is a real, actionable issue worth patching within a normal cycle, but it is not a widespread-exploitation or critical-impact priority. |
| Exploit ScenarioDerived | An attacker hosts a malicious web page containing a hidden, auto-submitting form that posts form-encoded data to the WriteFreely /api/posts endpoint. When a currently-logged-in WriteFreely user is lured to that page, their SameSite=None session cookie is attached to the forged request, authenticating it and allowing the attacker to publish a new post or overwrite an existing one as that user. No public exploit code is identified at time of analysis; the VulnCheck advisory and v0.17.3 source references document the flaw but are not verified working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Cross-site request forgery in WriteFreely through 0.17.3 lets an attacker publish new posts or overwrite existing ones in a logged-in user's blog by luring that user to a malicious page that submits a form-encoded request to the /api/posts endpoint served by the newPost and existingPost handlers. The attack succeeds because the application issues its session cookie with SameSite=None (session.go), so browsers attach the victim's session to the cross-site request; the CVSS 4.0 base score is 5.3 and our assessment is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N, meaning no credentials are needed but the victim must be logged in and must be persuaded to visit the attacker's page, and the impact is limited to integrity of the victim's own posts with no confidentiality or availability loss. Exploitation is confirmed to hinge on that SameSite=None cookie behaviour, so instances that do not set it are not exploitable in the described manner; no public exploit code or CISA KEV entry was identified at time of analysis, and the vulnerability is tracked at this_month priority.
RemediationAI
No vendor-released patch identified at time of analysis: the available references point only to vulnerable source at tag v0.17.3 and to the VulnCheck advisory (https://www.vulncheck.com/advisories/writefreely-through-0.17.3-cross-site-request-forgery-via-post-api), which does not state a fixed version, so check the WriteFreely project for a release newer than 0.17.3 and upgrade once one is published. The concrete deployment-level mitigation supported by the assessment is the session cookie attribute at session.go lines 42-51: instances that do not issue the session cookie with SameSite=None are not exploitable in the described manner, so an operator who can drop SameSite=None in favour of Lax or Strict removes the described attack path, with the trade-off that SameSite=None is normally set to support cross-site or embedded use, and those integrations may stop authenticating. Until a fixed release is applied, treat the exposure as conditional on users holding active sessions and being lured to an attacker-controlled page, and prioritise the upgrade on instances that deliberately serve cross-site sessions; note that the advisory describes the cookie-dependent mechanism only and does not document further vendor workarounds.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WriteFreely is a Go-based self-hosted blogging platform, and CVE-2026-142284 is a classic CWE-352 cross-site request forgery reachable through its JSON/form API rather than the rendered web UI. The advisory points at routes.go lines 159-164, which wire the /api/posts route to the newPost and existingPost handlers implemented in posts.go lines 565-590, and at session.go lines 42-51, where the session cookie is configured with SameSite=None. SameSite=None is a deliberate opt-out of the browser's default cross-site cookie suppression and exists to support cross-site or embedded use cases; the side effect is that when the victim holds a live session, any third-party page can cause the browser to send that cookie on an attacker-initiated form-encoded POST to /api/posts, and the application treats the request as an authenticated write. Because the parameters arrive form-encoded rather than as JSON, a plain HTML form submission from a malicious page is enough to drive the request, removing the need for scripted cross-origin reads. The referenced code demonstrates the cookie configuration and the handler entry points; the trigger beyond a cross-site form POST to that endpoint is not described further in the available sources. The supplied CPE string cpe:2.3:a:writefreely:writefreely:*:*:*:*:*:*:*:* carries a wildcard version, so the binding 'through 0.17.3' comes from the advisory text rather than from a versioned CPE range.
Know when Writefreely gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network CSRF with no attacker privileges but required victim interaction (UI:R); only post publish/overwrite gives limited integrity impact, with no confidentiality or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
More in Writefreely
View allStored cross-site scripting in WriteFreely through 0.17.2 lets an authenticated author with post-creation privileges inj
Stored cross-site scripting in WriteFreely through 0.17.3 lets an authenticated author publish a post whose body uses th
EUVD-2026-141546
GHSA-9ppf-f66j-8w7r
NVD
CVE.org
EPSS
Exploit-DB