Skip to main content

WriteFreely CVE-2026-126498

| EUVDEUVD-2026-123063 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 VulnCheck GHSA-43p2-x762-x6h7
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as author
  2. Delivery
    Call CreatePost API with malicious slug
  3. Exploit
    Enable paid shortcode in monetized collection
  4. Execution
    augmentReadingDestination() injects raw slug via template.HTML()
  5. Persist
    Feed/newsletter/ActivityPub viewers render page
  6. Impact
    Script executes in victim browser context

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 account with author/post-creation privileges (PR:L) that can call the CreatePost API with a controlled slug. The flaw only triggers when the post is in a Web-Monetized collection AND contains the <!--paid--> shortcode, because only then does augmentReadingDestination() concatenate the raw slug into an anchor wrapped in template.HTML(), bypassing Go's auto-escaping. Execution further requires a victim to passively render the output (UI:P) through an RSS/Atom feed reader, newsletter email, or ActivityPub client. Limiting factors: instances that do not enable paid/monetized collections are not exposed; the attacker must already hold a trusted authoring account; and impact is limited to script execution in feed/newsletter/federation consumer contexts rather than the WriteFreely server itself. Fixed in version 0.17.3; updating is the vendor remedy.

Impact

This is a genuine but modest-priority issue, not a high-CVSS emergency. The CVSS 4.0 base score is 5.1 (medium), and the vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N) tells a consistent story: network-reachable, low complexity, but requiring authenticated author privileges (PR:L) and passive victim interaction (UI:P), with only Low confidentiality/integrity impact on both the vulnerable and a subsequent system (VC:L/VI:L/SC:L/SI:L, no availability impact). No EPSS score is provided in the input, and there is no CISA KEV listing, so there is no signal of active exploitation. No working exploit code is confirmed - the references are the vendor GHSA advisory, the patch commit, the release, and a VulnCheck advisory writeup, none of which is verified as a functioning public exploit. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with the medium severity and the significant preconditions. The main thing tempering real-world risk is the narrow trigger: it only fires for posts in a Web-Monetized collection containing the <!--paid--> shortcode, so most WriteFreely instances that do not use paid/monetized collections are not exposed. All signals are internally consistent; the notable gap is the absence of EPSS data, so exploitation-probability cannot be quantified here.

Exploit ScenarioDerived

An authenticated author on a WriteFreely instance that uses Web-Monetized (paid) collections creates a post via the CreatePost API with a malicious slug and the <!--paid--> shortcode; the raw slug is concatenated into an HTML anchor via template.HTML(), bypassing Go's contextual auto-escaping. When RSS/Atom subscribers, newsletter recipients, or ActivityPub viewers render the feed, the injected HTML/script executes in their context. No confirmed public exploit code exists, but the GHSA advisory and patch commit precisely document the vulnerable code path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 11, 2026

Stored cross-site scripting in WriteFreely through 0.17.2 lets an authenticated author with post-creation privileges inject HTML/script via a crafted post slug, which executes in the rendering context of RSS/Atom feed readers, newsletter email recipients and ActivityPub viewers rather than in the WriteFreely server itself. The flaw triggers only for posts in a Web-Monetized collection that contain the <!--paid--> shortcode, because augmentReadingDestination() then concatenates the raw slug into an HTML anchor wrapped in template.HTML() and bypasses Go's contextual auto-escaping. The 5.1 CVSS 4.0 score reflects low confidentiality/integrity impact with passive user interaction; exploitation requires a trusted authoring account, a public PoC or exploit has not been identified at time of analysis, and there is no confirmed active exploitation (not CISA KEV). Fixed in 0.17.3.

RemediationAI

Upgrade WriteFreely to 0.17.3, the version in which the vendor remediates the issue; the fix commit is https://github.com/writefreely/writefreely/commit/d7231d81a914f1314a218d5e8fde6e0341391ccd, referenced from the advisory https://github.com/writefreely/writefreely/security/advisories/GHSA-cwxm-8ch5-j2vh, with release artifacts at https://github.com/writefreely/writefreely/releases/tag/v0.17.3. Per the vendor and the independent assessment, updating is the complete remedy; the practical exposure boundary is that instances not enabling paid/monetized collections do not reach the vulnerable augmentReadingDestination() path, and only accounts already holding author/post-creation privileges can supply the malicious slug - so auditing existing author accounts and reviewing posts in monetized collections that contain the <!--paid--> shortcode is a useful stopgap while the upgrade is scheduled, but it does not repair the code path itself.

Affected VersionsENISA

WriteFreely 0 <0.17.3

Affected Packages

euvd writefreely fix: 0.17.3

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; post slugs submitted through the CreatePost API were stored verbatim in database.go (slugVal = *post.Slug) without slug normalization or sanitization. In postrender.go, augmentReadingDestination() builds a reading-destination anchor for Web-Monetized posts containing the <!--paid--> shortcode and converts the resulting markup with template.HTML(), which tells Go's html/template that the string is trusted and skips contextual escaping - so the attacker-controlled slug is interpreted as markup. The root cause is CWE-79 (improper neutralization of input during web page generation, stored variant), and the resulting sink is not the main site template but the generated feed/newsletter/federation output consumed by third parties: RSS/Atom readers, newsletter mail clients and ActivityPub viewers. The vendor fix in commit d7231d81a914f1314a218d5e8fde6e0341391ccd replaces the raw assignment with a call to getSlug(*post.Slug, post.Language.String), normalizing the slug before storage.

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

Authenticated author supplies the payload (PR:L), a feed/newsletter/ActivityPub victim must render it (UI:R), and script executes in those separate consumer contexts (S:C) with limited C/I 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 before 0.17.3 contains a stored cross-site scripting vulnerability that allows authenticated authors to inject HTML by supplying a malicious post slug via the CreatePost API. The raw slug is concatenated into an anchor by augmentReadingDestination() for paid-shortcode posts, executing script for RSS/Atom feed readers, newsletter recipients and ActivityPub viewers.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche self-hosted open-source 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.2%
Patch available Yes
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 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