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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-24 · Modified: 2026-04-24
- Aliases: UBUNTU-CVE-2026-41305, DEBIAN-CVE-2026-41305, CGA-2f37-g69j-4xj8, CGA-2xwq-cch4-8jc7, CGA-33h9-p7qf-9vff, CGA-3rp4-28r3-837h, CGA-3vxr-8m2c-ww6w, CGA-4c9j-wmj6-w2w3, CGA-52qj-h986-m5gq, CGA-5794-42xc-2m7r, CGA-5g37-x4x9-9qr8, CGA-63xh-jw85-vf4h, CGA-795h-v483-w7x8, CGA-7h96-29r4-hx5c, CGA-7vfv-g2gj-c77q, CGA-8pmc-j77g-h3r9, CGA-9jqq-j2wh-hv5w, CGA-f37f-cp37-m6p7, CGA-fqrp-9hp7-3f39, CGA-fvg6-vqv9-mp4j, CGA-g3cv-v8p5-5cwg, CGA-g9mp-jhfr-5jmm, CGA-gqgh-6mgr-9r5c, CGA-grgw-4w94-64gg, CGA-h7fr-g9jv-pp89, CGA-hmg8-wr5x-p9wv, CGA-mg6q-q3j7-wphm, CGA-mgrw-82c2-rfg3, CGA-p8cx-pwjc-p9x4, CGA-pg8x-5w78-f3pm, CGA-px9r-55q6-hcw2, CGA-rx35-v939-2jr5, CGA-vw5j-2pg8-xp94, CGA-wghw-j24j-r72m, CGA-x83m-v89p-5x2r, CGA-x8rx-c8j9-r7qf, CGA-xqq6-h7pq-vh4f, GHSA-qx2v-qp2m-jg93, CGA-23hv-8c2c-w6r3, CGA-246r-596m-3gh6, CGA-254r-8rg9-p6h7, CGA-26hq-h22v-g845, CGA-26mf-xx57-vpqc, CGA-27c9-jq33-q36m, CGA-2859-qwf8-p5hf, CGA-2j4q-9rq7-qxg6, CGA-2jw9-q244-p736, CGA-2mmm-29wg-7q7w, CGA-2w6x-4532-xq35, CGA-2xjh-3q25-5f6v, CGA-34w6-qfwj-8w38, CGA-3h8q-7f53-x3cc, CGA-3hj9-6rc4-6jg5, CGA-3pqf-344c-r9xj, CGA-3qm6-9fh7-f483, CGA-3r9m-j2rr-943f, CGA-42hr-5p3j-m3v9, CGA-4683-hphg-jxxv, CGA-48x5-fvc3-27rr, CGA-49cf-w824-w376, CGA-4f53-8fj4-fjr6, CGA-4gcq-gjpw-jg59, CGA-4hgh-j984-wqw6, CGA-4j87-xmh2-r7w8, CGA-4m67-hjf2-55vf, CGA-4mg2-63cw-4pg2, CGA-4rw2-g6r4-38r2, CGA-4wh6-vmh3-hxrr, CGA-4wpj-29m7-c82h, CGA-52v8-qgx3-rmvf, CGA-546c-hrcg-88mr, CGA-56cp-rxr5-67vh, CGA-5788-3xg8-8jcj, CGA-5f2p-fm8f-x59g, CGA-5ghp-pqxw-6gjp, CGA-5gp5-3xx8-m7f8, CGA-5jwh-wx3j-2rxg, CGA-5pm9-j27v-qf7r, CGA-5pmc-gg65-9xrv, CGA-5vp4-h34h-339r, CGA-5wh4-m7w2-9wfh, CGA-5xh4-46q4-jcv2, CGA-627q-vw2x-rpxm, CGA-64qp-4h2r-qpp2, CGA-65g9-wgqj-mxw3, CGA-6882-rpf5-247f, CGA-689h-w387-6mh6, CGA-68c8-6rh7-h5xw, CGA-6fgm-xmrp-9xwg, CGA-6fm7-cg6q-gwh5, CGA-6hj7-mpjh-2mrq, CGA-6jw9-hx3r-9c59, CGA-6qh8-v4w7-8gm3, CGA-6xmr-wgxh-2xjx, CGA-75q4-p7j5-f94j, CGA-772g-g2qm-83jv, CGA-78w2-f79v-j9hh, CGA-7c22-c732-wm94, CGA-7c52-6p8q-2ch5, CGA-7g2w-hg39-xrxc, CGA-7g3v-hj57-x382, CGA-7jw5-m9h3-8fc6, CGA-8686-xw3q-9m9h, CGA-87h7-phc6-8fxq, CGA-8852-h56r-prx2, CGA-8ccc-r2q8-2926, CGA-8fjp-3mr9-jf62, CGA-8gf7-xp4h-vmmw, CGA-8mxx-c53x-j4m7, CGA-8r77-w7qq-wp4p, CGA-8wp9-44m2-52p5, CGA-9496-xff6-c36r, CGA-96xw-rmwq-jpg8, CGA-97m5-fgx7-fj49, CGA-98mw-ppjx-3mq6, CGA-99qc-q5qw-qh2m, CGA-9gh5-g4f6-f2rx, CGA-9h9p-5wfx-3vwj, CGA-9jgf-hpxj-mrqq, CGA-9m9c-w6ch-5c7r, CGA-9mpr-fqh5-cf65, CGA-9wr8-6gc4-q2jh, CGA-c3w9-3fhw-99h9, CGA-c4m3-rffj-r4c9, CGA-c537-f4fp-hmf3, CGA-c697-3786-345x, CGA-c6ph-8j36-c32q, CGA-chj4-mj8x-g3xj, CGA-cj93-q833-wfp3, CGA-cwj9-px66-6gr5, CGA-f2hg-cp5r-vwc3, CGA-f35j-m94x-mgpf, CGA-f3wv-647r-qhc9, CGA-ff65-xpqx-xm7h, CGA-ff94-7f54-5xhh, CGA-ffw3-93vw-5rqw, CGA-fg9c-f4g8-3285, CGA-fgp9-hrgr-6jj3, CGA-fmp9-c3xh-jwjx, CGA-fmx2-pwq3-w999, CGA-g2v3-ghx7-j4mw, CGA-g5p3-f8fp-7pvm, CGA-g65p-p3xw-69xq, CGA-g6hj-262p-5rx9, CGA-g8j9-2q97-j45x, CGA-g8mw-r8mh-q5cj, CGA-gffq-jg4w-x78j, CGA-gqpf-xq5f-v8vv, CGA-gqr3-f9m5-989f, CGA-gr7q-fq93-567h, CGA-gvpr-wf63-jgpg, CGA-h38q-56jr-c7x4, CGA-h4vq-jg88-j7ff, CGA-h875-fhvm-hmwp, CGA-hq2x-6v2x-mjfw, CGA-hq4c-3c6w-4qm7, CGA-hr5f-348j-8hmm, CGA-hr86-jrvv-375g, CGA-hww5-53c4-6phv, CGA-j2mj-9vfv-896q, CGA-j44h-44g6-5564, CGA-j47c-q2rx-3crj, CGA-j96m-72wx-gqq2, CGA-jf32-mff7-8v3w, CGA-jm5q-vfh8-jc7w, CGA-jp5v-gp98-pjff, CGA-m3xq-57m9-vhrq, CGA-m9f8-3fvm-472c, CGA-mfgf-h778-4qp9, CGA-mhcm-m8wg-5hj6, CGA-mm4q-7p6j-924x, CGA-mvmw-wx73-gcjj, CGA-p44j-74j2-hqr3, CGA-p465-cp4g-h852, CGA-p49w-35gf-w5vh, CGA-p9vw-vj34-2pm6, CGA-pc6j-q5hh-mx87, CGA-pf3x-m878-vg7h, CGA-pgmf-hvvc-7qh8, CGA-ph5w-8v6j-83hm, CGA-phm7-97v8-g2f2, CGA-pqvg-47hr-8822, CGA-pwf4-3vr5-g8cv, CGA-pwxc-qj97-25wq, CGA-q2vm-x472-f95h, CGA-q2vq-wq9w-29xx, CGA-q77p-p4r2-pr5m, CGA-q7xx-5pc9-ghgq, CGA-q8cm-9wxw-vxm6, CGA-qcvx-256p-c8q6, CGA-qh33-798g-3vm5, CGA-qw6h-9xq8-m2v5, CGA-qxcg-4q86-g7cm, CGA-qxwm-hww7-2q95, CGA-r3mw-9jg9-759w, CGA-r663-342f-4pcq, CGA-r6h2-9q4r-8w8v, CGA-rpcr-4f6w-x8mm, CGA-rrfp-xcw4-rc3x, CGA-rw58-vjwj-j497, CGA-rwf8-h7r5-5wx8, CGA-v36x-2vr2-863m, CGA-v6vp-frh4-h3px, CGA-v9v7-59g3-mq6r, CGA-vfrm-58r6-4gwv, CGA-vmrj-3924-67px, CGA-vxqh-5c2m-r7rj, CGA-w2qw-426h-f4h2, CGA-w3qx-rf8x-vhm9, CGA-w58v-2c24-6r4r, CGA-w5gp-q38v-xqjr, CGA-w6wg-qg54-8jqg, CGA-w79x-x89j-qjhx, CGA-w7f8-7wmq-5rpx, CGA-wfh6-xr69-v6f2, CGA-wfwv-2v8m-vwjg, CGA-wg8w-mpcp-jx29, CGA-wh5j-q9pv-cq49, CGA-whjf-cfmf-w74g, CGA-wjhv-hvhx-9mww, CGA-wp3m-pwpf-2gqx, CGA-x7v7-g8x8-h98x, CGA-xm64-2hg9-jh29, CGA-xp94-frhm-hg7r, CGA-xqwg-f9v8-fp6w, CGA-xw6m-h54g-jx47
- Record: https://cvemate.com/vulnerability/CVE-2026-41305 · JSON: https://cvemate.com/vulnerability/CVE-2026-41305/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.245%, percentile 16.789%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 100)

- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard airflow-core-2 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.11 (Chainguard): \< 3.11.14.5-r1
- chainguard arangodb-3.12 (Chainguard): \< 3.12.9.4-r22
- chainguard authentik-2025.12 (Chainguard): \< 2025.12.6-r6
- chainguard authentik-2026.2 (Chainguard): \< 2026.2.5-r5
- chainguard authentik-2026.5 (Chainguard): \< 2026.5.4-r1
- chainguard authentik-fips-2025.12 (Chainguard): All versions (No fix recorded)
- chainguard authentik-fips-2026.2 (Chainguard): \< 2026.2.6-r5
- chainguard authentik-fips-2026.5 (Chainguard): \< 2026.5.4-r1
- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): \< 19.1.7-r3
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): \< 19.4.1-r1
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.9-r0
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): \< 19.2.7-r1
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): \< 19.3.3-r1
- chainguard commercial-gitlab-rails-ee-fips-19.4 (Chainguard): \< 19.4.1-r1
- chainguard drupal-11.3 (Chainguard): \< 11.3.13-r3
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/postcss/postcss/security/advisories/GHSA-qx2v-qp2m-jg93>
- <https://github.com/postcss/postcss/releases/tag/8.5.10>
- <https://ubuntu.com/security/CVE-2026-41305>
- <https://www.cve.org/CVERecord?id=CVE-2026-41305>
- <https://security-tracker.debian.org/tracker/CVE-2026-41305>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41305.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41305>
- <https://github.com/postcss/postcss>

---

Data as of 2026-12-05T08:54:30.442Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
