Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5244

Stored XSS via user/group name

    XMLWordPrintable

Details

    • 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&section=Users
        http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Groups
        http://localhost:8080/xwiki/bin/edit/Main/Test?editor=rights
        

      Something like "};alert(1);var x={"bla":" would be XSS

      Attachments

        Activity

          People

            nickless Alex Busenius
            nickless Alex Busenius
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: