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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| writefreely | WriteFreely | ≤ 0.17.3 | — |
References
- https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L326-L336 technical-description
- https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L481-L501 technical-description
- https://github.com/writefreely/writefreely/blob/v0.17.3/posts.go#L1626-L1643 technical-description
- VulnCheck Advisory: WriteFreely through 0.17.3 Stored XSS via XML Post Raw View third-party-advisory