CVE-2021-44649 json
Cross-site Scripting in django-cms
published 4y ago modified 4mo ago also GHSA-hx7c-qpfq-xcrp , PYSEC-2022-7 , EUVD-2022-0079
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django-cms 3.4.7, 3.5.4, 3.6.1, 3.7.4
- django-cms django_cms 3.4.7, 3.5.4, 3.6.1, 3.7.4
Is CVE-2021-44649 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- sahildhar.github.io https://sahildhar.github.io/blogpost/Django-CMS-Reflected-XSS-Vulnerability/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django-cms | >=3.7.0, <3.7.4 >=3.6.0, <3.6.1 >=3.5.0, <3.5.4 >=3.4.0, <3.4.7 |
3.7.4 3.6.1 3.5.4 3.4.7 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
sahildhar.github.io
/blogpost/Django-CMS-Reflected-XSS-Vulnerability/
exploit, third-party-advisory, article
-
django-cms.org
/en/blog/2020/07/22/django-cms-security-updates-1/
vendor-advisory, article
-
nvd.nist.gov
/vuln/detail/CVE-2021-44649
advisory
-
github.com
/advisories/GHSA-hx7c-qpfq-xcrp
advisory
-
github.com
/divio/django-cms
web
-
github.com
/pypa/advisory-database/tree/main/vulns/django-cms/PYSEC-2022-7.yaml
web
-
sahildhar.github.io
/blogpost/Django-CMS-Reflected-XSS-Vulnerability
web
-
django-cms.org
/en/blog/2020/07/22/django-cms-security-updates-1
web
Sources
- CVE List CVE-2021-44649
- GitHub Advisory GHSA-hx7c-qpfq-xcrp
- NVD CVE-2021-44649
- OSV PYSEC-2022-7
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.