Ticket #491 (closed defect: fixed)
Edit Feed page doesn't escape title and description correctly (possible XSS?)
| Reported by: | reporter | Owned by: | mbonetti |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | BUGS | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The edit feed page fails to escape the title and description of the feed. In particular, "<input type=\"text\" id=\"c_descr\" name=\"c_descr\" value=\"$descr\" /></p>\n" fails to escape double quotes in $descr. Since the title and description are taken from the feed and double quotes are not stripped from either, this would appear to be an XSS security hole.
(Even if this didn't have nasty security implications, it would still be annoying because it means that the Edit Feed page cuts off feed titles and descriptions containing double quotes prematurely.)
Change History
Note: See
TracTickets for help on using
tickets.
