Details
-
Bug
-
Resolution: Fixed
-
Critical
-
10.4-rc-1
-
stable-postgres-tomcat Docker image
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
The rev1 and rev2 parameters in page history compare are vulnerable to unauthenticated reflected XSS attacks.
Below is an example payload for the Sandbox pages.
http://<host>/bin/view/Sandbox/?viewer=changes&rev1=9.1&rev2=xar%3aorg.xwiki.platform%3axwiki-platform-distribution-flavor-common%2f17.6.0q1che%27%3E%3Cscript%3Ealert(1)%3C%2fscript%3Evfu80q44msz&form_token=VX4OGRD4Qszx2m2Vt08FFA&language=en&rev2=xar%3Aorg.xwiki.platform%3Axwiki-platform-distribution-flavor-common%2F17.6.0&rev1=9.1
Attachments
Issue Links
- is caused by
-
XWIKI-15129 Add navigation (previous/next version) buttons in the changes view
-
- Closed
-
- is related to
-
XWIKI-21095 RXSS through revision parameter in content menu
-
- Closed
-
- links to