UBUNTU-CVE-2026-41305

Source
https://ubuntu.com/security/CVE-2026-41305
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41305.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-41305
Upstream
  • CVE-2026-41305
Published
2026-04-24T03:16:00Z
Modified
2026-05-20T16:25:41.115778543Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Versions prior to 8.5.10 do not escape </style> sequences when stringifying CSS ASTs. When user-submitted CSS is parsed and re-stringified for embedding in HTML <style> tags, </style> in CSS values breaks out of the style context, enabling XSS. Version 8.5.10 fixes the issue.

References

Affected packages

Ubuntu:20.04:LTS / node-postcss

Package

Name
node-postcss
Purl
pkg:deb/ubuntu/node-postcss?arch=source&distro=focal

Affected ranges

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

Affected versions

6.*
6.0.23-1
6.0.23-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.0.23-3",
            "binary_name": "node-postcss"
        }
    ]
}

Database specific

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

Ubuntu:22.04:LTS / node-postcss

Package

Name
node-postcss
Purl
pkg:deb/ubuntu/node-postcss?arch=source&distro=jammy

Affected ranges

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

Affected versions

8.*
8.2.1+~cs5.3.23-8
8.4.5+~cs7.1.51-2
8.4.6+~cs7.3.21-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.4.6+~cs7.3.21-1",
            "binary_name": "node-postcss"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / node-postcss

Package

Name
node-postcss
Purl
pkg:deb/ubuntu/node-postcss?arch=source&distro=noble

Affected ranges

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

Affected versions

8.*
8.4.20+~cs8.0.23-1
8.4.31+~cs8.0.26-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.4.31+~cs8.0.26-1",
            "binary_name": "node-postcss"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / node-postcss

Package

Name
node-postcss
Purl
pkg:deb/ubuntu/node-postcss?arch=source&distro=questing

Affected ranges

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

Affected versions

8.*
8.4.49+~cs9.2.32-1
8.5.6+~cs9.3.28-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.5.6+~cs9.3.28-1",
            "binary_name": "node-postcss"
        }
    ]
}

Database specific

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

Ubuntu:26.04:LTS / node-postcss

Package

Name
node-postcss
Purl
pkg:deb/ubuntu/node-postcss?arch=source&distro=resolute

Affected ranges

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

Affected versions

8.*
8.5.6+~cs9.3.28-1
8.5.8+~cs9.3.30-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.5.8+~cs9.3.30-1",
            "binary_name": "node-postcss"
        }
    ]
}

Database specific

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