{"affected":[{"defaultStatus":"unaffected","ecosystem":"golang","packageName":"github.com/writefreely/writefreely","product":"WriteFreely","source":"CNA: VulnCheck","vendor":"writefreely","versions":[{"lessThanOrEqual":"0.17.3","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-142285","cwes":["CWE-79"],"description":"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.1,"severity":"medium","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":5.4,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"score":5.1,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"score":5.4,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1796241572508,"publishedAt":1796230151014,"references":[{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L326-L336"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L481-L501"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L1626-L1643"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/writefreely-through-0.17.3-stored-xss-via-xml-post-raw-view"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L1626-L1643"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L326-L336"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L481-L501"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/writefreely-through-0.17.3-stored-xss-via-xml-post-raw-view"}],"remediation":[],"revision":"d69b9578b7d63354556321a760afadba5483531d1d3fccb344bfb4906c943ebb","sources":[{"modifiedAt":1796241572508,"name":"CNA: VulnCheck","retrievedAt":1796243250219,"url":"https://www.cve.org/CVERecord?id=CVE-2026-142285"},{"modifiedAt":1796231877127,"name":"NVD","retrievedAt":1796235557995,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142285"}],"ssvc":{"assessedAt":1796241561918,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"WriteFreely through 0.17.3 Stored XSS via XML Post Raw View","updatedAt":1796243250219}