cve.bz

CVE-2026-41305 postcss postcss: Cross-site Scripting

6.1 mediumEPSS 0.2%Fix available

Medium (6.1) in postcss postcss. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in postcss 8.5.10.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-04-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-41305 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41305?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41305?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41305 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
postcss< 8.5.10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qx2v-qp2m-jg93npmpostcss<8.5.108.5.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-postcssno fix listedDEBIAN-CVE-2026-41305
Debian14node-postcss8.5.12+~cs9.3.32-1DEBIAN-CVE-2026-41305
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morenode-postcssno fix listedUBUNTU-CVE-2026-41305

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ceph Storage 9.2rhceph/rhceph-9-rhel10:1790843527Fixed 2026-10-21RHSA-2026:86618
Red Hat Openshift Data Foundation 4.18odf4/cephcsi-rhel9:1786705347Fixed 2026-08-18RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18odf4/cephcsi-rhel9-operator:1786706101Fixed 2026-08-18RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18odf4/mcg-core-rhel9:1786705558Fixed 2026-08-18RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18odf4/mcg-rhel9-operator:1786705646Fixed 2026-08-18RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18odf4/ocs-client-console-rhel9:1786706138Fixed 2026-08-18RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18odf4/ocs-client-rhel9-operator:1786705741Fixed 2026-08-18RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18odf4/ocs-metrics-exporter-rhel9:1786705777Fixed 2026-08-18RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18odf4/ocs-rhel9-operator:1786705802Fixed 2026-08-18RHSA-2026:56431
Red Hat Openshift Data Foundation 4.18odf4/odf-cli-rhel9:1786705938Fixed 2026-08-18RHSA-2026:56431
Cryostat 4cryostat-openshift-console-plugin-npmFix deferred
Cryostat 4postcssFix deferred
Gatekeeper 3gatekeeper/gatekeeper-rhel9Fix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/console-mce-rhel9Fix deferred
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Fix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Fix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleFix deferred
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorFix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-419-rhel9Fix deferred
122 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-41305.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON