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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django-cms | >= 3.7.0, < 3.7.4 | 3.7.4 | GHSA-hx7c-qpfq-xcrp |
| PyPI | django-cms | >= 3.6.0, < 3.6.1 | 3.6.1 | GHSA-hx7c-qpfq-xcrp |
| PyPI | django-cms | >= 3.5.0, < 3.5.4 | 3.5.4 | GHSA-hx7c-qpfq-xcrp |
| PyPI | django-cms | >= 3.4.0, < 3.4.7 | 3.4.7 | GHSA-hx7c-qpfq-xcrp |
| 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 | PYSEC-2022-7 |