CVE-2025-51504 Microweber XSS Vulnerability in the homepage Endpoint

High 7.6 Published Updated

Attackers can inject malicious scripts via the last name field in Microweber CMS, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-51504?

CVE-2025-51504 is a high-severity cross-site scripting vulnerability in Microweber Microweber, published on 1 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Microweber CMS 2.0 is vulnerable to Cross Site Scripting (XSS)in the /projects/profile, homepage endpoint via the last name field.

Weakness: CWE-79

Which versions are affected by CVE-2025-51504?

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-51504?

No fix has been published for CVE-2025-51504 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-51504 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51504 exists.

All Microweber Microweber vulnerabilities

Sources

Also known as GHSA-2x2j-3c2v-g3c2.

Is CVE-2025-51504 in your software?

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

Check your SBOMs for free