{"id":"CVE-2026-142285","summary":"WriteFreely through 0.17.3 Stored XSS via XML Post Raw View","details":"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.","modified":"2026-12-02T21:45:45.293216956Z","published":"2026-12-02T16:49:11.014Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142285.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142285.json"},{"type":"PACKAGE","url":"https://github.com/writefreely/writefreely"},{"type":"ARTICLE","url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L1626-L1643"},{"type":"ARTICLE","url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L326-L336"},{"type":"ARTICLE","url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L481-L501"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142285"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/writefreely-through-0.17.3-stored-xss-via-xml-post-raw-view"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/writefreely/writefreely","events":[{"introduced":"0"},{"last_affected":"d2485910010b1671a6e4341ab36cd199b7868e8d"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"0.17.3"}],"source":"AFFECTED_FIELD"}]}}],"versions":["v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.2","v0.13.1","v0.13.0","v0.13.0rc1","v0.11.2","v0.12.0","v0.12.0rc1","v0.11.1","v0.11.0","v0.10.0","v0.9.1","v0.9.0","v0.6.0","v0.7.1","v0.7.0","v0.5.0","v0.4.0","v0.3.0","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142285.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}