---
id: CVE-2025-6050
aliases:
  - PYSEC-2025-236
  - GHSA-7pr5-w74r-jjj7
title: >-
  Mezzanine CMS, in versions prior to 6.1.1, contains a Stored Cross-Site
  Scripting (XSS) vulnerability in the admin interface. The vulnera…
summary: >-
  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 tit…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'
vendor: mezzanine
product: mezzanine
ecosystem: pip
affected:
  - mezzanine < 6.1.1
patched:
  - mezzanine 6.1.1
published: '2025-06-17'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2025-236'
references:
  - url: 'https://github.com/stephenmcd/mezzanine/discussions/2080'
  - url: >-
      https://github.com/stephenmcd/mezzanine/commit/898630d8df48cf3ddb8b9942f59168b93216e3f8
  - url: 'https://advisory.checkmarx.net/advisory/CVE-2025-6050/'
  - url: 'https://github.com/advisories/GHSA-7pr5-w74r-jjj7'
tags:
  - osv
  - pip
epss: 0.00315
epssPercentile: 0.24662
ingestedAt: '2026-07-13T18:58:06.553Z'
---

## Overview

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.

## Affected packages

- `mezzanine < 6.1.1`

## Remediation

Upgrade to a patched release:

- `mezzanine 6.1.1`
