Advisory

GHSA-7pr5-w74r-jjj7

Also known as: CVE-2025-6050, PYSEC-2025-236

Summary

Mezzanine CMS has a Stored Cross-Site Scripting (XSS) vulnerability in the displayable_links_js function

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-06-17 12:31 UTC
Modified
2026-07-20 21:30 UTC

Affected packages and fixes

mezzanine

PyPI · All systems

Affected

  • introduced 0, fixed 6.1.1 (ecosystem)

Fixed versions

6.1.1

Fix

  • Fixed version 6.1.1
    pip install --upgrade mezzanine==6.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences