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

Persistent XSS through CKEditor Configuration

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Reproduction steps:

      Expected result

      • User cannot edit CKEditor.Config without Programming rights

      Actual result

      • Unprivileged users are able to inject javascript for any user editing using CKEditor

      Note 1:  It might also be possible to do the same by editing the default value of CKEditor.ConfigClass or by adding an XObject of this class when CKEditor.Config is missing

      Note 2: The affect version needs to be updated, 14.10 is just a placeholder

      Other things:

      • CKEditor.ConfigSheet must be protected as well, otherwise there is a risk that some dangerous javascript is defined before and admin configures ckedior and copy a bad sheet
      • The same is true for CKEditor.ConfigTemplate and CKEditor.AdminSection

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: