Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting ruff package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.21% (11th 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-16299654
  • published26 Apr 2026
  • disclosed23 Apr 2026

Introduced: 23 Apr 2026

CVE-2026-41238  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 ruff.

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. Versions 3.0.1 through 3.3.3 are vulnerable to a prototype pollution-based XSS bypass. When an application uses DOMPurify.sanitize() with the default configuration (no CUSTOM_ELEMENT_HANDLING option), a prior prototype pollution gadget can inject permissive tagNameCheck and attributeNameCheck regex values into Object.prototype, causing DOMPurify to allow arbitrary custom elements with arbitrary attributes — including event handlers — through sanitization. Version 3.4.0 fixes the issue.

CVSS Base Scores

version 3.1