Opened 5 years ago
Closed 5 years ago
#3374 closed defect (bug) (fixed)
Self XSS possible in admin-area list-table Forum description
Reported by: | johnjamesjacoby | Owned by: | johnjamesjacoby |
---|---|---|---|
Milestone: | 2.6.5 | Priority: | high |
Severity: | minor | Version: | 2.1 |
Component: | General - Administration | Keywords: | |
Cc: |
Description
When a user with the unfiltered_html
capability (Admin or Editor role, traditionally) enters a Forum description via WordPress Admin, their HTML is rendered raw inside the admin-area list-table UI.
I'm considering this not to be a security issue, as privileged users (Admins, Editors, Keymasters, and Moderators) are trusted to understand the consequences of actions such as this one. In this case, they would already have access to these admin-area screens and form fields, and are trusted to modify them.
That being said, this behavior does not match how other admin-area list-tables behave – they intentionally escape this content in an excerpt format, so Forums should as well.
This finding was reported to the WordPress Security Team through the HackerOne bug bounty program.
Patch imminent.
Escape & excerpt Forum description in admin-area list-table