# Phlex XSS protection bypass via attribute splatting, dynamic tags, and href values

Source: https://junglewise.ai/threats/phlex-xss-protection-bypass-via-attribute-splatting-dynamic-tags-and-93d3a918  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-06  
License: CC BY 4.0 with a link back

Severity: low · CVSS 3.1 · Published 2026-02-06

Phlex XSS protection bypass via attribute splatting, dynamic tags, and href values

Technologies: [phlex (RubyGems)](https://junglewise.ai/threats/technologies/phlex). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Low severity, with a CVSS score of 3.1, published 6 February 2026.

**Which products and versions are affected?** phlex (RubyGems) ECOSYSTEM:introduced=2.4.0.beta1,fixed=2.4.1.

**Is there a fix for This vulnerability?** Yes. phlex (RubyGems): upgrade to 2.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run phlex (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- phlex (RubyGems): upgrade to 2.4.1 or later

  ```sh
  bundle update phlex
  ```


## Affected products

- phlex (RubyGems) ECOSYSTEM:introduced=2.4.0.beta1,fixed=2.4.1

## Related threats

- [Phlex vulnerable to Cross-site Scripting (XSS) via maliciously formed HTML attribute names and values](https://junglewise.ai/threats/cve-2024-32970-phlex-vulnerable-to-cross-site-scripting-xss-via-maliciously)
- [Cross-site Scripting (XSS) possible due to improper sanitisation of `href` attributes on `<a>` tags](https://junglewise.ai/threats/cve-2024-32463-cross-site-scripting-xss-possible-due-to-improper-sanitisation-of)
- [Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex](https://junglewise.ai/threats/cve-2024-28199-cross-site-scripting-xss-possible-with-maliciously-formed-html)
