CVE-2025-6050: Mezzanine CMS has a Stored Cross-Site Scripting (XSS) vulnerability in the displayable_links_js function
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 "displayablelinksjs" function, which fails to properly sanitize blog post titles before including them in JSON responses served via "/admin/displayablelinks.js".
Published Jun 17, 2025 · Updated Jul 20, 2026
Affected packages
Mezzanine
- Ecosystem
- PyPI
- Affected
- < 6.1.1
- Fixed in
- 6.1.1
- Check
pip show Mezzanine
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6050
- https://github.com/stephenmcd/mezzanine/discussions/2080
- https://https://github.com/stephenmcd/mezzanine/commit/898630d8df48cf3ddb8b9942f59168b93216e3f8
- https://github.com/stephenmcd/mezzanine/commit/898630d8df48cf3ddb8b9942f59168b93216e3f8
- https://advisory.checkmarx.net/advisory/CVE-2025-6050
- https://github.com/advisories/GHSA-7pr5-w74r-jjj7
- https://github.com/pypa/advisory-database/tree/main/vulns/mezzanine/PYSEC-2025-236.yaml
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2025-50481
Mezzanine CMS vulnerable to Cross-site Scripting
medium4.8No fixJul 23, 2025CVE-2025-29573
Mezzanine CMS Cross-Site Scripting (XSS) vulnerability
medium6.1No fixMay 5, 2025CVE-2024-25169
Mezzanine allows attackers to bypass access control mechanisms
mediumNo fixFeb 28, 2024CVE-2024-25170
Mezzanine allows attackers to bypass access controls via manipulating the Host header
mediumNo fixFeb 28, 2024
