# CVE-2021-44649: Cross-site Scripting in django-cms

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-12T12:57:19.000Z
- Modified: 2026-06-17T04:12:38.370Z
- Also known as: GHSA-hx7c-qpfq-xcrp, PYSEC-2022-7
- Weaknesses: CWE-79
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- django-cms (PyPI): from 3.7.0 before 3.7.4; from 3.6.0 before 3.6.1; from 3.5.0 before 3.5.4; from 3.4.0 before 3.4.7
- django-cms django_cms: from 3.4.0 before 3.4.7; from 3.5.0 before 3.5.4; from 3.6.0 before 3.6.1; from 3.7.0 before 3.7.4

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://sahildhar.github.io/blogpost/Django-CMS-Reflected-XSS-Vulnerability/> (exploit, article, third-party-advisory)
- <https://www.django-cms.org/en/blog/2020/07/22/django-cms-security-updates-1/> (article, vendor-advisory)
- <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)
- <https://sahildhar.github.io/blogpost/Django-CMS-Reflected-XSS-Vulnerability> (web)
- <https://www.django-cms.org/en/blog/2020/07/22/django-cms-security-updates-1> (web)

## Sources

- CVE List: [CVE-2021-44649](https://www.cve.org/CVERecord?id=CVE-2021-44649), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hx7c-qpfq-xcrp](https://github.com/advisories/GHSA-hx7c-qpfq-xcrp), CC-BY-4.0, modified 2024-09-16
- NVD: [CVE-2021-44649](https://nvd.nist.gov/vuln/detail/CVE-2021-44649), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-7](https://osv.dev/vulnerability/PYSEC-2022-7), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-44649 · Whole record: https://cve.day/CVE-2021-44649.json · Rebuilt by cve.day 2026-11-25T22:24:36.475Z
