UBUNTU-CVE-2026-49452

Source
https://ubuntu.com/security/CVE-2026-49452
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49452.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-49452
Upstream
Published
2026-08-18T18:17:00Z
Modified
2026-09-02T19:36:24Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

WeasyPrint helps web developers to create PDF documents. Prior to 69.0, WeasyPrint embeds unescaped HTML presentational-hint attribute values into CSS in weasyprint/css/init.py when presentational_hints=True. The background attribute is inserted into a background-image:url() declaration and parsed by tinycss2.parse_blocks_contents(), allowing untrusted HTML to inject additional CSS declarations. Applications that render untrusted HTML with presentational hints enabled can be affected by CSS injection and server-side requests through injected url() values. This issue is fixed in version 69.0.

References

Affected packages

Ubuntu:20.04:LTS / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

Other
50-2
51-1
51-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "weasyprint",
            "binary_version": "51-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49452.json"

Ubuntu:22.04:LTS / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

Other
51-2
51-3
53.*
53.4-1
54.*
54.0-1
54.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "weasyprint",
            "binary_version": "54.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49452.json"

Ubuntu:24.04:LTS / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

59.*
59.0-1
60.*
60.2-1
61.*
61.0-1
61.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "weasyprint",
            "binary_version": "61.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49452.json"

Ubuntu:25.10 / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

62.*
62.3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "weasyprint",
            "binary_version": "62.3-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49452.json"

Ubuntu:26.04:LTS / weasyprint

Package

Name
weasyprint
Purl
pkg:deb/ubuntu/weasyprint?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

62.*
62.3-1
62.3-1build1
67.*
67.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "weasyprint",
            "binary_version": "67.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49452.json"