Cross-site Scripting (XSS) Affecting ruff package, versions <0:0.15.11-1.hum1


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.41% (34th 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 IDSNYK-RHEL10-RUFF-17987287
  • published16 Jul 2026
  • disclosed14 Jul 2026

Introduced: 14 Jul 2026

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

How to fix?

Upgrade RHEL:10 ruff to version 0:0.15.11-1.hum1 or higher.
This issue was patched in RHSA-2026:10999.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruff package and not the ruff package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. In 3.4.4, DOMPurify allowed selectedcontent by default, allowing browsers to re-clone an XSS payload after sanitization so that unsanitized markup inside <selectedcontent> is returned. This issue is fixed in version 3.4.5.

CVSS Base Scores

version 3.1