Advisory

GHSA-hx7c-qpfq-xcrp

Also known as: CVE-2021-44649, PYSEC-2022-7

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-01-13 20:10 UTC
Modified
2024-09-16 22:07 UTC

Affected packages and fixes

django-cms

PyPI · All systems

Affected

  • introduced 3.7.0, fixed 3.7.4 (ecosystem)

Fixed versions

3.7.4

Fix

  • Fixed version 3.7.4
    pip install --upgrade django-cms==3.7.4

django-cms

PyPI · All systems

Affected

  • introduced 3.6.0, fixed 3.6.1 (ecosystem)

Fixed versions

3.6.1

Fix

  • Fixed version 3.6.1
    pip install --upgrade django-cms==3.6.1

django-cms

PyPI · All systems

Affected

  • introduced 3.5.0, fixed 3.5.4 (ecosystem)

Fixed versions

3.5.4

Fix

  • Fixed version 3.5.4
    pip install --upgrade django-cms==3.5.4

django-cms

PyPI · All systems

Affected

  • introduced 3.4.0, fixed 3.4.7 (ecosystem)

Fixed versions

3.4.7

Fix

  • Fixed version 3.4.7
    pip install --upgrade django-cms==3.4.7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences