The {% debug %} template tag in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2 does not properly encode the current context. This may lead to XSS.
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Link | Tags |
---|---|
https://groups.google.com/forum/#%21forum/django-announce | |
https://docs.djangoproject.com/en/4.0/releases/security/ | third party advisory patch |
https://www.djangoproject.com/weblog/2022/feb/01/security-releases/ | exploit third party advisory patch |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/ | vendor advisory |
https://security.netapp.com/advisory/ntap-20220221-0003/ | third party advisory |
https://www.debian.org/security/2022/dsa-5254 | third party advisory vendor advisory |