Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
12.0-rc-1
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- Enable name validation (in the administration, go to Editing -> Name strategies and select "Enabled" below "Validate names before saving").
- Open <xwiki-host>/xwiki/bin/create/Main/%3Cscript%3Ealert%28%27Test%20Test%20Test%20Test%20Test%27%29%3C%2Fscript%3E where <xwiki-host> is the URL of your XWiki installation
Expected result:
No alert is displayed.
Actual result:
An alert with content "Test Test Test Test Test" is displayed.
This demonstrates an XSS vulnerability in the create action.
Attachments
Issue Links
- is caused by
-
XWIKI-16861 Define name cleanup strategies and prevent creation of pages with "/" and "\" in the name by default
- Closed
- links to