PT-2026-39147 · Unknown · Absinthe Plug
40826D
+2
·
Published
2026-05-08
·
Updated
2026-05-16
·
CVE-2026-42794
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
absinthe plug versions 1.2.0 through 1.10.1
Description
Reflected cross-site scripting is possible via the GraphiQL interface. The
js escape/1 function in lib/absinthe/plug/graphiql.ex fails to escape backslashes when processing the query GET parameter before embedding it in an inline JavaScript string. An attacker can bypass existing escaping for single quotes and newlines by prefixing a quote with a backslash, allowing the execution of arbitrary JavaScript in the victim's browser.Recommendations
Update to version 1.10.2.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Absinthe Plug