Skip to main content

WriteFreely EUVDEUVD-2026-141545

| CVE-2026-142285 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 VulnCheck GHSA-x7q2-m4xj-r2g2
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Register/obtain author account
  2. Delivery
    Publish post with XHTML-namespaced script body
  3. Exploit
    Send .xml raw post link to admin
  4. Execution
    Admin opens link, XML served unescaped
  5. Persist
    Script runs in admin session
  6. Impact
    Read or alter posts and settings

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated author account on the target WriteFreely instance (PR:L) capable of publishing posts, and the attacker must craft a post body using the XHTML namespace so it is served unescaped as application/xml through the raw .xml view handled by handleViewPost or viewCollectionPost. Successful impact additionally requires a privileged victim (an administrator) to open the attacker-supplied .xml post link - the payload executes in the victim's session rather than automatically (UI:P). Limiting factors: no unauthenticated path (author registration/onboarding must be possible), the specific XML raw-view rendering path must be reachable, and meaningful compromise depends on an administrator viewing the malicious link. Affected versions are WriteFreely through 0.17.3; no fixed version is stated in the available sources.

Impact

This is a medium-severity stored XSS (CVSS 4.0 base 5.1) whose real-world risk is moderate and gated by several preconditions, not a drop-everything priority. The CVSS 4.0 vector is network-reachable but requires attacker privileges (PR:L - an authenticated author account on the WriteFreely instance) and passive user interaction (UI:P - an administrator must open the attacker's crafted .xml post link). Impact is bounded: VC:L/VI:L and SC:L/SI:L reflect script execution in the victim's authenticated session to read or alter posts and settings, with no availability impact. No EPSS score, no CISA KEV listing, and no confirmed proof-of-concept were provided; the references are the vulnerable source lines in posts.go and a VulnCheck advisory, so there is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with the limiting factors: the attacker needs a valid author account and must socially engineer an administrator into viewing a malicious XML-served post. Signals are internally consistent - there is no CVSS-versus-description conflict - but the absence of EPSS/KEV data means widespread or automated exploitation is unsupported; realistic risk is targeted abuse on multi-author instances where untrusted authors can register or are onboarded.

Exploit ScenarioDerived

An authenticated author on a WriteFreely instance publishes a post whose body uses the XHTML namespace so that, when fetched via the .xml raw view (handleViewPost / viewCollectionPost) and served as application/xml, the markup is rendered unescaped and embedded script executes. The author sends the .xml post link to an administrator; when the admin opens it, the script runs in their authenticated session and can read or modify posts and settings. No confirmed working PoC was supplied - only the VulnCheck advisory and the vulnerable source references.

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

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Stored cross-site scripting in WriteFreely through 0.17.3 lets an authenticated author publish a post whose body uses the XHTML namespace, which the platform then serves unescaped as application/xml through the raw .xml view handled by handleViewPost or viewCollectionPost. When an administrator opens that attacker-supplied .xml post link, the injected markup is parsed and executed in the administrator's session, allowing the attacker to read or modify posts and instance settings. Exploitation requires a valid author account (PR:L) and victim interaction (UI:R), so this is a moderate, precondition-gated issue; no public exploit code was identified at time of analysis, no CISA KEV entry applies, and no fixed version is stated in the available sources.

RemediationAI

No vendor-released patch or fixed version is identified in the available sources, so the primary recommendation is to track the upstream project and the VulnCheck advisory (https://www.vulncheck.com/advisories/writefreely-through-0.17.3-stored-xss-via-xml-post-raw-view) alongside the referenced posts.go rendering code for a forthcoming release, and to upgrade as soon as a patched version is published. Because the assessed prerequisites are an author account and an administrator opening a malicious .xml link, compensating controls should target those two gates: restrict or disable self-service author registration and vet new author accounts on instances where untrusted users can publish (trade-off: onboarding friction and manual administration), and instruct administrators and other privileged users not to open .xml post links supplied by authors, treating the raw XML post view as untrusted content (trade-off: operational inconvenience, since the restriction relies on human behavior). Blocking or downgrading the raw .xml view at the reverse proxy for untrusted traffic reduces exposure but may break legitimate XML consumers or federation behavior and should be validated against the instance's use cases.

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 federated blogging platform that renders and serves user-authored post content. The flaw is CWE-79 (improper neutralization of input during web page generation) arising specifically in the raw XML rendering path: post bodies containing XHTML-namespaced markup are emitted without escaping under a Content-Type of application/xml. Because the content is delivered as XML rather than HTML, the browser's XML parser processes the attacker-controlled markup directly, so script in the post body executes in the origin's context. The VulnCheck advisory and the associated v0.17.3 source references in posts.go (the handleViewPost and viewCollectionPost handlers plus the surrounding rendering code near lines 326-336, 481-501 and 1626-1643) pinpoint where post content is written out for the .xml view. The CPE cpe:2.3:a:writefreely:writefreely:*:*:*:*:*:*:*:* confirms the entire product line up to and including 0.17.3 is in scope. The precise trigger conditions within the rendering path beyond the XHTML-namespace and application/xml combination are not described in the available sources.

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.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 5.4 MEDIUM

Network-delivered stored XSS needing an authenticated author (PR:L) and victim click (UI:R); execution in the victim's browser context crosses a trust boundary (S:C) with limited read/modify impact and no availability loss.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

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 .xml post link handled by handleViewPost or viewCollectionPost to administrators, running script in their session to read or change posts and settings.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche open-source fediverse blogging platform, limited enterprise footprint
Data Quality
4 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.5%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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 Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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