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

Wysiwyg rendering executed in a PR environment

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      1. Log in with a user not having PR
      2. Go to any page edited by Admin. ex: http://www.xwiki.org/xwiki/bin/edit/Main/SpaceIndex?editor=wysiwyg
      3. Use the Source tab and paste:

      {{velocity}}
      $doc.getDocument().class
      {{/velocity}}
      

      4. Click back to the WYSIWYG tab
      5. See the internal document

      Use case:

      • execute the code of XWiki.ResetPassword in a Blog post to change the password of any user

      Attachments

        Activity

          People

            vmassol Vincent Massol
            oana.tabaranu Elena-Oana Florea
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: