{"id":"GHSA-hx7c-qpfq-xcrp","summary":"Cross-site Scripting in django-cms","details":"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.","aliases":["CVE-2021-44649","PYSEC-2022-7"],"modified":"2024-09-16T22:07:01.820464Z","published":"2022-01-13T20:10:53Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-01-13T18:47:39Z","nvd_published_at":"2022-01-12T13:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-44649"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hx7c-qpfq-xcrp"},{"type":"WEB","url":"https://github.com/divio/django-cms"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django-cms/PYSEC-2022-7.yaml"},{"type":"WEB","url":"https://sahildhar.github.io/blogpost/Django-CMS-Reflected-XSS-Vulnerability"},{"type":"WEB","url":"https://www.django-cms.org/en/blog/2020/07/22/django-cms-security-updates-1"}],"affected":[{"package":{"name":"django-cms","ecosystem":"PyPI","purl":"pkg:pypi/django-cms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"3.7.4"}]}],"versions":["3.7.0","3.7.1","3.7.2","3.7.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-hx7c-qpfq-xcrp/GHSA-hx7c-qpfq-xcrp.json"}},{"package":{"name":"django-cms","ecosystem":"PyPI","purl":"pkg:pypi/django-cms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.0"},{"fixed":"3.6.1"}]}],"versions":["3.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-hx7c-qpfq-xcrp/GHSA-hx7c-qpfq-xcrp.json"}},{"package":{"name":"django-cms","ecosystem":"PyPI","purl":"pkg:pypi/django-cms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0"},{"fixed":"3.5.4"}]}],"versions":["3.5.0","3.5.1","3.5.2","3.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-hx7c-qpfq-xcrp/GHSA-hx7c-qpfq-xcrp.json"}},{"package":{"name":"django-cms","ecosystem":"PyPI","purl":"pkg:pypi/django-cms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"3.4.7"}]}],"versions":["3.4.0","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-hx7c-qpfq-xcrp/GHSA-hx7c-qpfq-xcrp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}