Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.3, 2.2.6, 2.3.1, 2.4 M1
-
None
-
security, xss, patch
-
Integration
-
Trivial
-
Description
In getgroups.vm getusersandgroups.vm getusers.vm
Steps to reproduce:
- Add a user or group with apostroph or quote in name (or first/second name)
- LiveTable will show empty list in:
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Users http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Groups http://localhost:8080/xwiki/bin/edit/Main/Test?editor=rights
Something like "};alert(1);var x={"bla":" would be XSS