CVE-2022-42975 in Phoenixframework Phoenix
socket/transport.ex in Phoenix before 1.6.14 mishandles check_origin wildcarding. NOTE: LiveView applications are unaffected by default because of the presence of a LiveView CSRF token.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Phoenixframework | Phoenix | < 1.6.14 |
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
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
socket/transport.ex in Phoenix before 1.6.14 mishandles check_origin wildcarding. NOTE: LiveView applications are unaffected by default because of the presence of a LiveView CSRF token.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-42975 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-065105-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2022-10-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
CVE-2022-42975 affects Phoenix versions before 1.6.14 due to improper handling of check_origin wildcarding in socket/transport.ex. This could allow unauthorized access to WebSocket connections. LiveView applications are unaffected by default due to the presence of a CSRF token.
An attacker could exploit this vulnerability by crafting a malicious WebSocket connection request that bypasses the origin check, potentially leading to unauthorized access to WebSocket connections.
Questions
What is CVE-2022-42975?
CVE-2022-42975 affects Phoenix versions before 1.6.14 due to improper handling of check_origin wildcarding in socket/transport.ex. This could allow unauthorized access to WebSocket connections. LiveView applications are unaffected by default due to the presence of a CSRF token.
What is the CVSS score for CVE-2022-42975?
CVE-2022-42975 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 0.7%.
Is CVE-2022-42975 actively exploited?
No confirmed active exploitation of CVE-2022-42975 as of 2026-09-25.
How do I remediate CVE-2022-42975?
Priority: MEDIUM.
What systems are affected by CVE-2022-42975?
CVE-2022-42975 affects Phoenixframework Phoenix.
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":"Phoenixframework","product":"Phoenix","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.