# CVE-2025-29573: Mezzanine CMS persistent XSS in Forms module via malicious filename

Source: https://junglewise.ai/threats/cve-2025-29573-mezzanine-cms-persistent-xss-in-forms-module-via-malicious  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-05. Updated: 2026-06-06  
License: CC BY 4.0 with a link back

CVE-2025-29573 · Severity: medium · CVSS 6.1 · Published 2025-05-05

Mezzanine CMS, a popular content management platform built on Django, contains a security flaw in its form handling module. An attacker can upload a file with a specially crafted name that, when viewed by a site administrator, executes malicious code in their browser. This could allow an attacker to hijack administrative sessions or perform unauthorized actions on the website.

Technologies: [Mezzanine (PyPI)](https://junglewise.ai/threats/technologies/mezzanine). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-29573 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-29573 being exploited in the wild.

**How severe is CVE-2025-29573?** Medium severity, with a CVSS score of 6.1, published 5 May 2025.

**Which products and versions are affected?** Mezzanine (PyPI) <= 6.0.0, ECOSYSTEM:introduced=0,last_affected=6.0.0.

**Is there a fix for CVE-2025-29573?** 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-29573 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2025-29573?** 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 persistent cross-site scripting (XSS) vulnerability exists in Mezzanine CMS versions 6.0.0 and earlier. The flaw is located within the 'View Entries' feature of the Forms module, where the application fails to properly neutralize user-controllable input—specifically malicious filenames—before rendering them in the administrative interface. An unauthenticated attacker can exploit this by submitting a form with a crafted filename. When an administrator views the submitted entries, the malicious script executes in their security context. This is tracked as CWE-79 and has a CVSS score of 6.1 due to the required user interaction and scope change.

## Affected products

- Mezzanine Mezzanine CMS <= 6.0.0

## Identifiers

- CVE-2025-29573
- GHSA-2544-hpcq-6g27
- PYSEC-2025-136

## Timeline

- 2025-05-05: disclosed
- 2025-05-05: advisory

## References

- [https://github.com/stephenmcd/mezzanine](https://github.com/stephenmcd/mezzanine)
- [https://www.squadappsec.com/post/cve-2025-29573-persistent-xss-in-mezzanine-cms-6-0-0-via-malicious-filename](https://www.squadappsec.com/post/cve-2025-29573-persistent-xss-in-mezzanine-cms-6-0-0-via-malicious-filename)
- [https://github.com/pypa/advisory-database/tree/main/vulns/mezzanine/PYSEC-2025-136.yaml](https://github.com/pypa/advisory-database/tree/main/vulns/mezzanine/PYSEC-2025-136.yaml)

## Related threats

- [PYSEC-2026-1627 - Mezzanine allows attackers to bypass access control mechanisms](https://junglewise.ai/threats/cve-2024-25169-mezzanine-allows-attackers-to-bypass-access-control-mechanisms)
- [PYSEC-2026-1626 - Mezzanine allows attackers to bypass access controls via manipulating the Host header](https://junglewise.ai/threats/cve-2024-25170-mezzanine-cms-access-control-bypass-via-host-header-manipulation)
- [Mezzanine CMS stored XSS in blog post component](https://junglewise.ai/threats/cve-2025-50481-mezzanine-cms-stored-xss-in-blog-post-component)
- [Mezzanine CMS stored XSS in displayable_links_js function](https://junglewise.ai/threats/cve-2025-6050-mezzanine-cms-stored-xss-in-displayable-links-js-function)
- [Mezzanine Cross Site Scripting (XSS) vulnerability](https://junglewise.ai/threats/cve-2020-19002-mezzanine-cross-site-scripting-xss-vulnerability)
