# CVE-2026-126498: WriteFreely before 0.17.3 Stored XSS via Unsanitized Post Slug

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-11-11T00:58:50.974Z
- Modified: 2026-11-14T04:17:19.897Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- Musing Studio WriteFreely: before 0.17.3

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/writefreely/writefreely/security/advisories/GHSA-cwxm-8ch5-j2vh> (vendor-advisory)
- <https://github.com/writefreely/writefreely/commit/d7231d81a914f1314a218d5e8fde6e0341391ccd> (patch)
- <https://github.com/writefreely/writefreely/releases/tag/v0.17.3> (release-notes)
- <https://github.com/writefreely/writefreely/blob/v0.17.2/postrender.go#L117-L121> (technical-description)
- <https://github.com/writefreely/writefreely/blob/v0.17.2/database.go#L702-L705> (technical-description)
- <https://www.vulncheck.com/advisories/writefreely-before-0.17.3-stored-xss-via-unsanitized-post-slug> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126498](https://www.cve.org/CVERecord?id=CVE-2026-126498), CVE Terms of Use, modified 2026-11-14
- NVD: [CVE-2026-126498](https://nvd.nist.gov/vuln/detail/CVE-2026-126498), Public domain, modified 2026-11-14

---

Page: https://cve.day/CVE-2026-126498 · Whole record: https://cve.day/CVE-2026-126498.json · Rebuilt by cve.day 2026-11-25T22:59:50.307Z
