Executive brief
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.
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
Timeline
- 2025-07-23: advisory: GitHub Advisory GHSA-269j-37ww-cmh3 published
- 2025-07-23: disclosed: CVE-2025-50481 assigned