{"id":82593,"date":"2026-07-27T20:53:13","date_gmt":"2026-07-27T17:23:13","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-45623-postcss-arbitrary-file-read-and-information-disclosure-via-attacker-controlled-sourcemappingurl-in-css-comments\/"},"modified":"2026-07-27T20:53:13","modified_gmt":"2026-07-27T17:23:13","slug":"cve-2026-45623-postcss-arbitrary-file-read-and-information-disclosure-via-attacker-controlled-sourcemappingurl-in-css-comments","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-45623-postcss-arbitrary-file-read-and-information-disclosure-via-attacker-controlled-sourcemappingurl-in-css-comments\/","title":{"rendered":"CVE-2026-45623 &#8211; PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments"},"content":{"rendered":"<p>CVE ID :CVE-2026-45623<\/p>\n<p>  Published : July 27, 2026, 5:23 p.m. | 32\u00a0minutes ago<\/p>\n<p>  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. In versions 8.5.11 and prior, the PreviousMap parses the \/*# sourceMappingURL=PATH *\/ comment from any CSS string passed to process() and dereferences PATH against the local filesystem with no scheme, allowlist, or traversal check. An attacker who controls the CSS input can cause the host process to read any file readable by Node and leak the first ~10 bytes of its content through the resulting JSON.parse SyntaxError message. The bug also yields a precise file-existence oracle and a controllable-read primitive that may be combined with large-file targets for DoS. The behaviour is triggered with PostCSS&#8217;s default options \u2014 no from, no map, no plugins required \u2014 and is therefore reachable from any pipeline that runs untrusted CSS through PostCSS (CMS themes, user-uploaded styles, browser-extension\/userstyle processors, build pipelines for third-party packages, blog comment renderers, etc.). This issue has been fixed in version 8.5.12.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-45623 Published : July 27, 2026, 5:23 p.m. | 32\u00a0minutes ago 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. In versions 8.5.11 and prior, the PreviousMap parses the \/*# sourceMappingURL=PATH *\/ comment from any CSS string &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82593","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82593"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82593\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}