BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-32970 in Ascii products

High 7.1

Phlex is a framework for building object-oriented views in Ruby. In affected versions there is a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. Since the last two vulnerabilities https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g a...

Affects 0 products from 9 vendors. Facts below cite their sources.

CVSS 3.17.1
EPSS0.9%
EPSS percentile58th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Ascii — —
Github — —
Javascript — —
Last — —
Phlex — —
Project — —
Rubygems — —
Think — —
Vector — —

Show 1 more products

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Phlex is a framework for building object-oriented views in Ruby. In affected versions there is a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. Since the last two vulnerabilities https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g and https://github.com/phlex-ruby/phlex/security/advisories/GHSA-g7xq-xv8c-h98c, we have invested in extensive browser tests. It was these new tests that helped us uncover these issues. As of now the project exercises every possible attack vector the developers can think of — including enumerating every ASCII character, and we run these tests in Chrome, Firefox and Safari. Additionally, we test against a list of 6613 known XSS payloads (see: payloadbox/xss-payload-list). The reason these issues were not detected before is the escapes were working as designed. However, their design didn't take into account just how recklessly permissive browsers are when it comes to executing unsafe JavaScript via HTML attributes. If you render an `<a>` tag with an `href` attribute set to a user-provided link, that link could potentially execute JavaScript when clicked by another user. If you splat user-provided attributes when rendering any HTML or SVG tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all minor versions released in the last year. Users are advised to upgrade. Users unable to upgrade should configure a Content Security Policy that does not allow `unsafe-inline` which would effectively prevent this vulnerability from being exploited. Users who upgrade are also advised to configure a Content Security Policy header that does not allow `unsafe-inline`.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-32970
BreachSpider IDBS-2024-GLOBAL-049924-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Published2024-04-30
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

Related attack patterns (CAPEC)

CAPEC-85 AJAX Footprinting via CWE-79

CAPEC-209 XSS Using MIME Type Mismatch via CWE-79

CAPEC-588 DOM-Based XSS via CWE-79

CAPEC-591 Reflected XSS via CWE-79

CAPEC-592 Stored XSS via CWE-79

Show all 6

CAPEC-63 Cross-Site Scripting (XSS) via CWE-79

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Phlex, a Ruby framework for building object-oriented views, is affected by a cross-site scripting (XSS) vulnerability in certain versions. This vulnerability allows attackers to inject malicious scripts into web pages viewed by other users, potentially leading to unauthorized actions or data theft.

The vulnerability arises from the improper handling of user input, specifically when rendering user-generated content without proper sanitization or escaping. Attackers can exploit this by submitting maliciously crafted data that includes script tags or other executable code, which is then rendered on the web page and executed in the context of the victim's browser.

Questions

What is CVE-2024-32970?

Phlex, a Ruby framework for building object-oriented views, is affected by a cross-site scripting (XSS) vulnerability in certain versions. This vulnerability allows attackers to inject malicious scripts into web pages viewed by other users, potentially leading to unauthorized actions or data theft.

What is the CVSS score for CVE-2024-32970?

CVE-2024-32970 has CVSS 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N. EPSS: 0.9%.

Is CVE-2024-32970 actively exploited?

No confirmed active exploitation of CVE-2024-32970 as of 2026-09-25.

How do I remediate CVE-2024-32970?

Priority: MEDIUM. Advisory: https://github.com/phlex-ruby/phlex/commit/da8f94342a84cff9d78c98bcc3b3604ee2e577d2

What systems are affected by CVE-2024-32970?

CVE-2024-32970 affects Ascii; Github; Javascript; Last; Phlex; Project; Rubygems; Think; Vector.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ascii","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.