Advisory

UBUNTU-CVE-2019-12308

Also known as: CVE-2019-12308

Summary

The record has no summary.

Details

An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.

Severity

Medium Basis: CVSS v3 score 6.1, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Dates

Published
2019-06-03 14:00 UTC
Modified
2026-10-01 14:01 UTC

Affected packages and fixes

python-django

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:1.11.11-1ubuntu1.4 (ecosystem)

Fixed versions

1:1.11.11-1ubuntu1.4

Fix

  • Fixed version 1:1.11.11-1ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences