Executive brief
django CMS is a popular open-source content management system used to build and manage websites. A security flaw in the page creation interface allows users with high-level administrative privileges to inject malicious scripts into page titles. If exploited, these scripts could execute in the browsers of other users or administrators, potentially leading to unauthorized actions or data theft within the management console.
Technical details
A stored Cross-Site Scripting (XSS) vulnerability exists in django CMS versions 3.11.7, 3.11.8, 4.1.2, and 4.1.3. The flaw is located in the Page Title field of the Page Creation interface at the /admin/cms/pagecontent/ endpoint. Due to improper neutralization of input during web page generation, an attacker with high privileges (PR:H) can inject malicious scripts that are subsequently rendered and executed in the context of other users' sessions. The issue has been addressed in versions 3.11.9 and 4.1.4.
Affected products
- django CMS Association django-cms >= 3.11.7, < 3.11.9
- django CMS Association django-cms >= 4.1.2, < 4.1.4
Timeline
- 2024-11-13: advisory: Vendor security update published
- 2024-11-18: disclosed: CVE-2024-11319 published
- 2024-11-18: patched: GitHub advisory reviewed and patched versions confirmed
References
- https://github.com/django-cms/django-cms/commit/241d1cbe47a68f5d271ce4d27ad5e32e2c360ec3
- https://iltosec.com/blog/post/django-cms-413-stored-xss-vulnerability-exploiting-the-page-title-field
- https://www.django-cms.org/en/blog/2024/11/13/django-cms-security-update
- https://www.usom.gov.tr/bildirim/tr-24-1859
- https://github.com/pypa/advisory-database/tree/main/vulns/django-cms/PYSEC-2024-124.yaml