Details
-
Bug
-
Resolution: Won't Fix
-
Blocker
-
None
-
16.2.0
-
Windows 11 Pro, Firefox 124, using a local instance of XWiki 16.2.0 on Tomcat 9.0.87, MariaDB 11.3
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- Login as Admin
- Edit a page, add some text, but do not save
- Login as an user without script right in another browser or in Incognito mode
- Edit the same document (force the edit on warning), add <script>alert('XSS')</script> in the content and delete some existing text to cause a conflict
- Save the page
- As Admin, save the page as well
- On the conflict window, select "Fix each conflict individually"
Expected result:
The conflict window is displayed, but without an alert.
Actual result:
An alert with content "XSS" is displayed.
Attachments
Issue Links
- relates to
-
XWIKI-21626 XSS through conflict resolution
-
- Closed
-