6.1

CVE-2026-41305: PostCSS has XSS via Unescaped </style> in its CSS Stringify Output

Deferred
AliasesUBUNTU-CVE-2026-41305DEBIAN-CVE-2026-41305CGA-2f37-g69j-4xj8
Published 24-04-2026Last modified 24-04-2026

Vulnerability summary

CVE-2026-41305 is a medium (CVSS 6.1) vulnerability in postcss. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 24-04-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

Increase +0.04 pp

From 0.21% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard79 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
  • arangodb-3.11< 3.11.14.5-r1
  • arangodb-3.12< 3.12.9.4-r22
  • authentik-2025.12< 2025.12.6-r6
Wolfi17 products
  • jitsucom-jitsu-console< 2.11.0-r23
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compat< 0.19.0-r40
  • katib-suggestion-hyperband< 0.19.0-r31
  • katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
Debian1 product
  • node-postcssAll versions (No fix recorded) | < 8.5.12+~cs9.3.32-1
Npm1 product
  • postcss< 8.5.10
Postcss1 product
Ubuntu1 product
  • node-postcssAll versions (No fix recorded)

6 vendors · 100 products

References

8 links