Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12254

XSS vulnerability for ListWorkEfforts form

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Release Branch 17.12, 18.12.01
    • None
    • None

    Description

      If `sanitizer.enable` is turned off, `ListWorkEfforts` form will be vulnerable to XSS attack, because of incomplete escaping.

      Steps to reproduce:

      1. Turn off `sanitizer.enable` in owasp.properties
      2. Create a WorkEffort entity with name as `<script>alert(1)</script>`
      3. Go to page: http://localhost:8080/workeffort/control/FindWorkEffort
      4. Search for "Work Effort Name" which contains "script"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            dram Xin Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment