CVE-2025-51502 Microweber has Reflected XSS Vulnerability in the layout Parameter
Reflected XSS in Microweber CMS allows arbitrary JavaScript execution against authenticated admin users via the layout parameter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-51502?
CVE-2025-51502 is a medium-severity cross-site scripting vulnerability in Microweber Microweber, published on 1 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Reflected Cross-Site Scripting (XSS) in Microweber CMS 2.0 via the layout parameter on the /admin/page/create page allows arbitrary JavaScript execution in the context of authenticated admin users.
Weakness: CWE-79
Which versions are affected by CVE-2025-51502?
2 open source packages ship an affected version, including microweber/microweber. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
microweber/microweber Packagist | From 2.0.0 to 2.0.19 | None |
microweber/microweber Packagist | From 2.0.0 to 2.0.19 | None |
Products include Microweber Microweber.
How do I fix CVE-2025-51502?
No fix has been published for CVE-2025-51502 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-51502 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51502 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Microweber Microweber
- CVE-2022-0558 Cross-site Scripting (XSS) - Stored in microweber/microweber
- CVE-2020-23138 File upload in n/a
- CVE-2022-0688 Business Logic Errors in microweber/microweber
- CVE-2022-0660 Generation of Error Message Containing Sensitive Information in microweber/microweber
- CVE-2022-0913 Integer Overflow or Wraparound in microweber/microweber
Sources
Also known as GHSA-mvj3-hc7j-vp74.