Skip to main content

WriteFreely CVE-2026-142284

| EUVDEUVD-2026-141546 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-12-02 VulnCheck GHSA-9ppf-f66j-8w7r
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated WriteFreely user to malicious page
  2. Exploit
    Auto-submit forged form-encoded request to /api/posts
  3. Execution
    SameSite=None session cookie authenticates request
  4. Impact
    Publish 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WriteFreely 0 ≤0.17.3

Affected Packages

euvd writefreely no fix

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche self-hosted open-source federated blogging platform, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy