Uploaded image for project: 'Elements Connect'
  1. Elements Connect
  2. CO-3565

HTML returned by the data source shall never be evaluated (edit, search & display views)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.1
    • Fix Version/s: 6.0.2
    • Labels:
      None
    • Functional components:
      Security

      Description

      How to reproduce

      • Configure a field
        • DS : Jira Issues (JQL)
        • Query: empty
        • Template: <strong> {summary}</strong>
      • Create an issue, summary: <em>Hello</em>
      • Edit the connect field

      Current result
      The HTML of the referenced issue summary is evaluated, the available option is:
      Hello

      We are facing a risk of XSS attack!
      A malicious user could use this vulnerability to inject javascript in jira issue pages

      Expected result
      The HTML of the referenced issue summary is NOT evaluated, the available option is:
      <em>Hello</em>

      Note
      This changes impacts all views (edit, display, search) and all editors (readonly, autocomplete, table, ...)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                christophe.prome@valiantys.com Christophe Promé
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: