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

Missing CSRF token causes warning that the content will be executed in restricted mode to be displayed when displaying a previous revision of a page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 15.4, 14.10.14
    • None
    • Pop!_OS 22.04 LTS (64 bits), Firefox 116.0.3 (64 bits)
    • Unknown

    Description

      Reproduction

      1. create a new page and save it
      2. modify the same page and save it
      3. open the history tab at the bottom and select the previous version (1.1) to be displayed

      Result

      The previous version is displayed with the following warning message: "For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this."

      Expected result

      No warning displayed

       

      Attachments

        Activity

          People

            lucaa Anca Luca
            mpace Mathieu Pace
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: