Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as author
-
DeliveryCall CreatePost API with malicious slug
-
ExploitEnable paid shortcode in monetized collection
-
ExecutionaugmentReadingDestination() injects raw slug via template.HTML()
-
PersistFeed/newsletter/ActivityPub viewers render page
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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 Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Writefreely
View allCross-site request forgery in WriteFreely through 0.17.3 lets an attacker publish new posts or overwrite existing ones i
Stored cross-site scripting in WriteFreely through 0.17.3 lets an authenticated author publish a post whose body uses th
EUVD-2026-123063
GHSA-43p2-x762-x6h7
NVD
CVE.org
EPSS
VulDB
Exploit-DB