CVE-2026-42794: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in absinthe-graphql absinthe_plug
Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in absinthe-graphql absinthe_plug allows reflected cross-site scripting via the GraphiQL interface. 'Elixir.Absinthe.Plug.GraphiQL':js_escape/1 in lib/absinthe/plug/graphiql.ex escapes single quotes and newlines in the query GET parameter before embedding it in an inline JavaScript string, but does not escape backslashes. An attacker can bypass the escaping by prefixing a quote with a backslash (e.g. \'), breaking out of the string context and executing arbitrary JavaScript in the victim's browser. This issue affects absinthe_plug: from 1.2.0 before 1.5.10.
AI Analysis
Technical Summary
The absinthe-graphql absinthe_plug library contains a reflected XSS vulnerability in its GraphiQL interface due to improper escaping of backslashes in the query GET parameter. The js_escape/1 function escapes single quotes and newlines but omits backslash escaping, enabling an attacker to inject JavaScript by prefixing a quote with a backslash. This vulnerability affects versions from 1.2.0 before 1.5.10. The CVSS 4.0 score is 2.3 (low severity). No patch or official remediation level is documented, and the product is not a cloud service.
Potential Impact
An attacker can exploit this vulnerability to execute arbitrary JavaScript in the context of a victim's browser when they access the vulnerable GraphiQL interface with a crafted query parameter. This can lead to typical reflected XSS impacts such as session hijacking or UI manipulation. However, the low CVSS score and lack of known exploits suggest limited impact or difficulty in exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or temporary mitigation is documented, users should monitor the vendor's announcements for updates. Until a patch is available, consider restricting access to the GraphiQL interface or implementing web application firewall (WAF) rules to detect and block suspicious query parameters that may exploit this XSS vulnerability.
CVE-2026-42794: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in absinthe-graphql absinthe_plug
Description
Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in absinthe-graphql absinthe_plug allows reflected cross-site scripting via the GraphiQL interface. 'Elixir.Absinthe.Plug.GraphiQL':js_escape/1 in lib/absinthe/plug/graphiql.ex escapes single quotes and newlines in the query GET parameter before embedding it in an inline JavaScript string, but does not escape backslashes. An attacker can bypass the escaping by prefixing a quote with a backslash (e.g. \'), breaking out of the string context and executing arbitrary JavaScript in the victim's browser. This issue affects absinthe_plug: from 1.2.0 before 1.5.10.
CVSS v4.0
Score 2.3low
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The absinthe-graphql absinthe_plug library contains a reflected XSS vulnerability in its GraphiQL interface due to improper escaping of backslashes in the query GET parameter. The js_escape/1 function escapes single quotes and newlines but omits backslash escaping, enabling an attacker to inject JavaScript by prefixing a quote with a backslash. This vulnerability affects versions from 1.2.0 before 1.5.10. The CVSS 4.0 score is 2.3 (low severity). No patch or official remediation level is documented, and the product is not a cloud service.
Potential Impact
An attacker can exploit this vulnerability to execute arbitrary JavaScript in the context of a victim's browser when they access the vulnerable GraphiQL interface with a crafted query parameter. This can lead to typical reflected XSS impacts such as session hijacking or UI manipulation. However, the low CVSS score and lack of known exploits suggest limited impact or difficulty in exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or temporary mitigation is documented, users should monitor the vendor's announcements for updates. Until a patch is available, consider restricting access to the GraphiQL interface or implementing web application firewall (WAF) rules to detect and block suspicious query parameters that may exploit this XSS vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-04-29T18:06:33.251Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fe0681cbff5d8610f67320
Added to database: 05/08/2026, 15:51:29 UTC
Last enriched: 05/17/2026, 09:06:48 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 106
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.