CVE-2025-51502 Microweber has Reflected XSS Vulnerability in the layout Parameter

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
microweber/microweber PackagistFrom 2.0.0 to 2.0.19None
microweber/microweber PackagistFrom 2.0.0 to 2.0.19None

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.

All Microweber Microweber vulnerabilities

Sources

Also known as GHSA-mvj3-hc7j-vp74.

Is CVE-2025-51502 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free