CVE-2025-6050 Stored Cross-Site Scripting (XSS) in Mezzanine CMS Admin Interface

Medium 4.8 Published Updated

An authenticated admin can inject malicious scripts via blog titles, leading to script execution in other admins' browsers.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-6050?

CVE-2025-6050 is a medium-severity cross-site scripting vulnerability in jupo mezzanine, published on 17 Jun 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Mezzanine CMS, in versions prior to 6.1.1, contains a Stored Cross-Site Scripting (XSS) vulnerability in the admin interface. The vulnerability exists in the "displayable_links_js" function, which fails to properly sanitize blog post titles before including them in JSON responses served via "/admin/displayable_links.js". An authenticated admin user can create a blog post with a malicious JavaScript payload in the title field, then trick another admin user into clicking a direct link to the "/admin/displayable_links.js" endpoint, causing the malicious script to execute in their browser.

Weakness: CWE-79

Which versions are affected by CVE-2025-6050?

3 open source packages ship an affected version, including mezzanine and Mezzanine. It affects 1 product.

PackageAffectedFixed in
mezzanine PyPIAll versions6.1.1
mezzanine PyPIAll versions6.1.1
Mezzanine PyPIAll versions6.1.1

Products include Jupo Mezzanine.

How do I fix CVE-2025-6050?

Upgrade mezzanine to 6.1.1 or later.

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-6050 being exploited?

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

Sources

Also known as GHSA-7pr5-w74r-jjj7, PYSEC-2025-236.

Is CVE-2025-6050 in your software?

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

Check your SBOMs for free