VDB
Sign up
MEDIUM4.8

PYSEC-2025-236

Quick fix

PYSEC-2025-236 — mezzanine: upgrade to the fixed version with the command below.

pip install --upgrade 'mezzanine>=6.1.1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mezzanine
Introduced in: 0Fixed in: 6.1.1
Fixpip install --upgrade 'mezzanine>=6.1.1'

References