Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Mezzanine
  4. ›
  5. CVE-2025-6050

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

June 17, 2025 (updated July 15, 2025)

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

  • advisory.checkmarx.net/advisory/CVE-2025-6050
  • github.com/advisories/GHSA-7pr5-w74r-jjj7
  • github.com/stephenmcd/mezzanine
  • github.com/stephenmcd/mezzanine/commit/898630d8df48cf3ddb8b9942f59168b93216e3f8
  • github.com/stephenmcd/mezzanine/discussions/2080
  • https://github.com/stephenmcd/mezzanine/commit/898630d8df48cf3ddb8b9942f59168b93216e3f8
  • nvd.nist.gov/vuln/detail/CVE-2025-6050

Code Behaviors & Features

Detect and mitigate CVE-2025-6050 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.1.1

Fixed versions

  • 6.1.1

Solution

Upgrade to version 6.1.1 or above.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/Mezzanine/CVE-2025-6050.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:44 +0000.