CVE-2026-142285 — WriteFreely
One of 2 WriteFreely vulnerabilities published together by NVD: our article covers all of them.
WebVulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.1
An attacker with a normal user account can exploit this over the network if a user views or visits something.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- yes, a user must view or visit something
- Impact
- low on confidentiality and integrity, none on availability
- Impact on other systems
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| WriteFreely | ≤ 0.17.3 | — |
References by type
Other references
Affected
- WriteFreely
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142285?
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. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-142285?
CVE-2026-142285 has a CVSS 4.0 base score of 5.1 (medium), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network if a user views or visits something.
Is CVE-2026-142285 being exploited?
Not as far as is known: CVE-2026-142285 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142285?
WriteFreely ≤ 0.17.3.
How do I fix CVE-2026-142285?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.