Cross-Site Scripting Vulnerability in python-django

python-django Updated 02 Oct 2025

Summary

21/07/2016
N/A
Yes i
Unrated
Not published

DLA-555-1: python-django - security update. Affects python-django versions < 1.4.5-1+deb7u17. Fixed in 1.4.5-1+deb7u17. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

python-django is a high-level Python web development framework. It provides a convenient and secure way to build web applications. The framework includes various features such as an ORM, template engine, and authentication system. However, a vulnerability has been discovered in the admin's add/change related popup and debug view, which can lead to cross-site scripting attacks.

Vulnerability Detail

The vulnerability in python-django allows an attacker to inject malicious scripts into the admin's add/change related popup and debug view. This can be exploited by tricking an authenticated admin user into visiting a specially crafted URL or by enticing them to click on a malicious link. Once the script is executed, the attacker can steal sensitive information, perform actions on behalf of the user, or manipulate the web page content. This vulnerability poses a significant risk to the confidentiality, integrity, and availability of the affected web application.

How To Fix

Minimum fixed version

1.4.5-1+deb7u17

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-django

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the security update to mitigate the risk of exploitation.

Conclusion

In conclusion, python-django is prone to a cross-site scripting vulnerability that can be exploited by injecting malicious scripts into the admin's add/change related popup and debug view. To protect your web application, it is recommended to upgrade the python-django package to version 1.4.5-1+deb7u17 or later. This update includes patches that address the vulnerability. If you have any further questions or need assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-django →

Share this vulnerability

FAQ

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. These scripts can be used to steal sensitive information, manipulate web page content, or perform actions on behalf of the user.

You can use the Vulert Playground at Vulert Scanner to check if your python-django package is affected by this vulnerability. Simply upload your package manifest file (e.g., package-lock.json) to the playground, and it will analyze and alert you if any vulnerabilities are found.

No, only versions prior to 1.4.5-1+deb7u17 are affected by this vulnerability. It is recommended to upgrade to the latest version to ensure the security of your web application.

Yes, this vulnerability can be exploited remotely. An attacker can craft a malicious URL or link and trick an authenticated admin user into visiting it, leading to the execution of the injected script.

There is no evidence of active exploitation of this vulnerability at the moment. However, it is crucial to apply the security update as soon as possible to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for python-django.

How To Fix

Minimum fixed version

1.4.5-1+deb7u17

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-django

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback