Cross-site Scripting (XSS) Affecting keep-fips package, versions <0.51.0-r6


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-KEEPFIPS-16539275
  • published8 May 2026
  • disclosed24 Apr 2026

Introduced: 24 Apr 2026

CVE-2026-41305  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Chainguard keep-fips to version 0.51.0-r6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keep-fips package and not the keep-fips package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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 &lt;/style&gt; sequences when stringifying CSS ASTs. When user-submitted CSS is parsed and re-stringified for embedding in HTML &lt;style&gt; tags, &lt;/style&gt; in CSS values breaks out of the style context, enabling XSS. Version 8.5.10 fixes the issue.

CVSS Base Scores

version 3.1