# CVE-2024-32463: Cross-site Scripting (XSS) possible due to improper sanitisation of `href` attributes on `<a>` tags

Source: https://junglewise.ai/threats/cve-2024-32463-cross-site-scripting-xss-possible-due-to-improper-sanitisation-of  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-04-17  
License: CC BY 4.0 with a link back

CVE-2024-32463 · Severity: low · CVSS 3.1 · Published 2024-04-17

Cross-site Scripting (XSS) possible due to improper sanitisation of `href` attributes on `<a>` tags

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

## Quick answers

**Is CVE-2024-32463 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-32463 being exploited in the wild.

**How severe is CVE-2024-32463?** Low severity, with a CVSS score of 3.1, published 17 April 2024.

**Which products and versions are affected?** phlex (RubyGems) ECOSYSTEM:introduced=1.10.0,fixed=1.10.1.

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

**Am I affected by CVE-2024-32463?** 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 1.10.1 or later

  ```sh
  bundle update phlex
  ```


## Affected products

- phlex (RubyGems) ECOSYSTEM:introduced=1.10.0,fixed=1.10.1

## Identifiers

- CVE-2024-32463
- GHSA-g7xq-xv8c-h98c

## Related threats

- [Phlex XSS protection bypass via attribute splatting, dynamic tags, and href values](https://junglewise.ai/threats/phlex-xss-protection-bypass-via-attribute-splatting-dynamic-tags-and-93d3a918)
- [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 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)
