Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-43341

Inconsistent escaping returned by Confluence Search

    XMLWordPrintable

Details

    Description

      When using the CQLSearchService the response returned is inconsistently escaped. If using the highlight strategy, the body content is escaped and the title is not.

      In addition, the actual characters escaped is inconsistent, For example, & lt; should be escaped to & amp;lt; but isn't, while < is correctly escaped to & lt;.

      This seems like it would result in an XSS issue, but it appears to be ok in Confluence search.

      Attachments

        Issue Links

          Activity

            People

              mtran@atlassian.com Minh Tran
              zwang@atlassian.com Ziming Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: