Advisory

PYSEC-2025-236

Also known as: CVE-2025-6050, GHSA-7pr5-w74r-jjj7

Summary

The record has no summary.

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: CVSS v3 score 4.8, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2025-06-17 11:15 UTC
Modified
2026-07-13 16:45 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: PyPA Advisory Database · CC BY 4.0

Sources & licences