CVE-2021-44649
MEDIUM 5.4CVSS 3.1Cross-site Scripting in django-cms
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.
- Published
- 12 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-hx7c-qpfq-xcrpPYSEC-2022-7
- Sources
- NVDJSONOSV GHSA-hx7c-qpfq-xcrpJSONOSV PYSEC-2022-7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | django-cms | django_cmscpe:2.3:a:django-cms:django_cms:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.7 | 3.4.7 |
| NVD | django-cms | django_cmscpe:2.3:a:django-cms:django_cms:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.4 | 3.5.4 |
| NVD | django-cms | django_cmscpe:2.3:a:django-cms:django_cms:*:*:*:*:*:*:*:* |
>= 3.6.0, < 3.6.1 | 3.6.1 |
| NVD | django-cms | django_cmscpe:2.3:a:django-cms:django_cms:*:*:*:*:*:*:*:* |
>= 3.7.0, < 3.7.4 | 3.7.4 |
| OSV | PyPI | django-cms | >= 3.7.0, < 3.7.4 | 3.7.4 |
| OSV | PyPI | django-cms | >= 3.6.0, < 3.6.1 | 3.6.1 |
| OSV | PyPI | django-cms | >= 3.5.0, < 3.5.4 | 3.5.4 |
| OSV | PyPI | django-cms | >= 3.4.0, < 3.4.7 | 3.4.7 |
| OSV | PyPI | django-cms | >= 3.4.0, < 3.4.7; >= 3.5.0, < 3.5.4; >= 3.6.0, < 3.6.1; >= 3.7.0, < 3.7.4 | 3.4.7, 3.5.4, 3.6.1, 3.7.4 |
References
- https://sahildhar.github.io/blogpost/Django-CMS-Reflected-XSS-Vulnerability/ · Exploit, Third Party Advisory, WEB, ARTICLE
- https://www.django-cms.org/en/blog/2020/07/22/django-cms-security-updates-1/ · Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2021-44649 · ADVISORY
- https://github.com/advisories/GHSA-hx7c-qpfq-xcrp · ADVISORY
- https://github.com/divio/django-cms · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/django-cms/PYSEC-2022-7.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Jan 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jan 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jan 2022)