CVE-2025-50481: Mezzanine CMS stored XSS in blog post component

CVE-2025-50481 · Severity: medium · CVSS 4.8 · Published 2025-07-23

Mezzanine CMS, a content management system built on the Django framework, is vulnerable to a security flaw where malicious scripts can be embedded in blog posts. An attacker with high-level permissions can create a post that executes unauthorized code in the browsers of other users, including administrators. This could lead to website defacement, unauthorized data access, or service disruption.

Technologies: Mezzanine (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2025-50481 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-50481 being exploited in the wild.
How severe is CVE-2025-50481?
Medium severity, with a CVSS score of 4.8, published 23 July 2025.
Which products and versions are affected?
Mezzanine (PyPI) <= 6.1.0, ECOSYSTEM:introduced=0,last_affected=6.1.0.
Is there a fix for CVE-2025-50481?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-50481 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2025-50481?
Check whether you run Mezzanine (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in Mezzanine CMS v6.1.0 and earlier within the '/blog/blogpost/add' component. The application fails to properly neutralize user-controllable input when processing the source code formatting of a blog post. An authenticated attacker with high privileges (PR:H) can inject a crafted payload into a blog post; when other users or administrators view the published post, the malicious script executes in their browser context. This can be used for session hijacking, site defacement, or performing actions on behalf of other users. As of the advisory date, no patched version has been identified.

Affected products

  • Mezzanine Mezzanine <= 6.1.0

Identifiers

  • CVE-2025-50481
  • GHSA-269j-37ww-cmh3
  • PYSEC-2025-137

Timeline

  • 2025-07-23: advisory: GitHub Advisory GHSA-269j-37ww-cmh3 published
  • 2025-07-23: disclosed: CVE-2025-50481 assigned

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.