Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.2 RC1, 2.3 M1
-
None
-
None
-
Linux, Jetty + HSQLDB, colibri skin
-
security, xss
-
Integration
-
Unknown
-
Description
The first comment in a profile is displayed in the "About" field of the profile, allowing any user with "Comment" rights to change parts of the profile of other users. Since currently comments can contain JavaScript (see XWIKI-4875), this can be used to insert a profile worm into the profile of a more privileged user (e.g. Admin).
To reproduce, write the following text as first comment on the user profile:
{{html}}<script>alert("html")</script>{{/html}}
Attachments
Issue Links
- duplicates
-
XAADMINISTRATION-157 When there are comments on a user profile, the content of the first comment is used as the "About" information
- Closed