CVE-2024-32970 — Vulnerability in phlex — CVE Details
Phlex vulnerable to Cross-site Scripting (XSS) via maliciously formed HTML attribute names and values
Summary
Advisory Timeline
- First published May 1, 2024 (894 days ago).
- Last revised September 10, 2026 — 861 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install phlex -v 1.9.3
gem install phlex -v 1.10.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
References
- https://github.com/phlex-ruby/phlex/security/advisories/GHSA-9p57-h987-4vgxWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32970ADVISORY
- https://github.com/phlex-ruby/phlex/commit/da8f94342a84cff9d78c98bcc3b3604ee2e577d2WEB
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-PolicyWEB
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inlineWEB
- https://github.com/payloadbox/xss-payload-listWEB
- https://github.com/phlex-ruby/phlexPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/phlex/CVE-2024-32970.ymlWEB
- https://rubygems.org/gems/phlexWEB
- https://rubygems.org/gems/phlex/versions/1.10.2WEB
- https://rubygems.org/gems/phlex/versions/1.9.3WEB
Frequently Asked Questions
- What is CVE-2024-32970?
- Phlex vulnerable to Cross-site Scripting (XSS) via maliciously formed HTML attribute names and values This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.1/10).
- How do I check if my project is affected by CVE-2024-32970?
- CVE-2024-32970 affects phlex. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-32970 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2024-28199HIGH
Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2024-32463HIGH
Cross-site Scripting (XSS) possible due to improper sanitisation of `href` attributes on `<a>` tags
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
- GHSA-w67g-2h6v-vjgqHIGH
Phlex XSS protection bypass via attribute splatting, dynamic tags, and href values
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies