Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › WriteFreely

Medium 5.3 2 CVEs Analysis

WriteFreely Flaws Allow Forged Post Edits and Stored XSS Through XHTML Posts

NVD published two medium-severity vulnerabilities in WriteFreely through 0.17.3: a cross-site request forgery issue affecting post publishing and editing, and a stored cross-site scripting issue tied to XHTML-namespaced post bodies. The records state no fixed version or workaround.

What to look into

  • 2 vulnerabilities in WriteFreely: 2 medium (CVSS up to 5.3).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142284 (5.3 medium): 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 c… An attacker without an account can exploit this over the network if a user views or visits something.
  • 1 of 2 can be attacked over the network without logging in.
  • Kinds of flaws: Cross-Site Request Forgery (CSRF); Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
VulnerabilitiesWeb

Key points

  • Two MEDIUM vulnerabilities in WriteFreely through 0.17.3, CVSS 5.3 and 5.1
  • CVE-2026-142284: CSRF in newPost and existingPost can publish or overwrite posts as a logged-in user
  • CVE-2026-142285: stored XSS via XHTML-namespaced post bodies served as application/xml, which can target administrators
  • The records state no fixed version or workaround

Overview

NVD published two vulnerabilities in WriteFreely on 2026-12-02, both affecting versions through 0.17.3. Both are rated MEDIUM, with CVE-2026-142284 scored CVSS 5.3 and CVE-2026-142285 scored CVSS 5.1. The batch contains two distinct flaw types, one in request handling and one in how post content is rendered.

Forged requests to publish or edit posts

CVE-2026-142284 is a cross-site request forgery flaw in the newPost and existingPost handlers. According to the record, an attacker could lure a logged-in user to a malicious page. That page would submit form-encoded requests to /api/posts, and the browser would attach the SameSite=None session cookie, so the request would be treated as coming from the user. The result could be published or overwritten blog posts.

Script execution through XHTML post bodies

CVE-2026-142285 is a stored cross-site scripting flaw. The record says an authenticated author can publish a post with an XHTML-namespaced body, which is then served unescaped with an application/xml content type. An attacker could send a link ending in .xml for that post, handled by handleViewPost or viewCollectionPost, to an administrator. Script would then run in the administrator's session, which the record says could be used to read or change posts and settings.

Who is affected and what to do

The records describe the affected range as all WriteFreely releases through 0.17.3. Neither record names a fixed version, a configuration change or a detection method, so those details are not stated here. Administrators running affected releases should check for available updates from the project and review recent post activity and administrator sessions in the meantime.

What to do

  1. Check whether your WriteFreely instance runs version 0.17.3 or earlier and look for a newer release from the project
  2. Review recently published or edited posts for unexpected changes

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-142284 5.3 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 submit…
  • CVE-2026-142285 5.1 WriteFreely through 0.17.3 contains a stored cross-site scripting vulnerability that allows authenticated authors to execute scripts by publishing XHTML-namespaced post bodies served unescaped as application/xml. Attackers can send the .xm…

Frequently asked questions

How many WriteFreely vulnerabilities were published on December 2, 2026?

2 vulnerabilities: 2 medium, with CVSS scores up to 5.3.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142284 (CVSS 5.3): 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 c…

Original records