-
Bug
-
Resolution: Fixed
-
Medium
-
3.1, 3.5.13, 5.1-OD-4
-
None
-
6
-
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
As discovered while looking at CONF-20667, Confluence stores the space key unencoded in a content tag. Considerable functionality relies on this content tag. Eg Doc Theme breaks without it. Themes choice breaks without it.
To exploit it, create a user with html in the login name, then create a personal space as that user. Finally, use a decorator=none request param when viewing a page to see the content tags.
There are actually a few places that the space key isn't encoded, so removing the ability to pass "decorator=none" is probably not a complete fix.
- relates to
-
CONFCLOUD-20865 XSS vulnerability in space key, particularly with decorators off
-
- Closed
-
- causes
-
SCT-64 Failed to load
yea i've since found out that locking down the rpc isn't going to work very well (and that LDAP users could just bypass it anyway).
Removed the decorator parameters instead - this will at least lessen the surface area of attack (and we have existing tests for usernames with html/xss attacks in them).