{"id":"CVE-2026-42794","aliases":["CVE-2026-42794","GHSA-c62g-j346-39v5","EEF-CVE-2026-42794"],"related":[],"kind":"vulnerability","state":"published","title":"Reflected XSS via backslash bypass in GraphiQL js_escape in absinthe_plug","summary":"Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in absinthe-graphql absinthe_plug allows reflected cross-site scripting via the GraphiQL interface.\n\nAbsinthe.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.\n\nThis issue affects absinthe_plug: from 1.1.1 before 1.5.10.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in absinthe-graphql absinthe_plug allows reflected cross-site scripting via the GraphiQL interface.\n\nAbsinthe.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.\n\nThis issue affects absinthe_plug: from 1.1.1 before 1.5.10.","source":"cvelist"},{"lang":"en","text":"Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in absinthe-graphql absinthe_plug allows reflected cross-site scripting via the GraphiQL interface.\n\n'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.\n\nThis issue affects absinthe_plug: from 1.2.0.","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Summary\n\nImproper Neutralization of Input During Web Page Generation (XSS) vulnerability in absinthe-graphql absinthe_plug allows reflected cross-site scripting via the GraphiQL interface.\n\n`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.\n\nThis issue affects absinthe_plug: from 1.1.1 before 1.5.10.\n\n## Configurations\n\nThe application must mount `Absinthe.Plug.GraphiQL` on a route that is reachable by untrusted users. The GraphiQL interface is a developer tool and is typically disabled or restricted in production deployments.","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web (XSS) en absinthe-graphql absinthe_plug permite cross-site scripting reflejado a través de la interfaz GraphiQL.\n\n’Elixir.Absinthe.Plug.GraphiQL’:js_escape/1 en lib/absinthe/plug/graphiql.ex escapa comillas simples y saltos de línea en el parámetro GET de la consulta antes de incrustarlo en una cadena JavaScript en línea, pero no escapa barras invertidas. Un atacante puede eludir el escape prefijando una comilla con una barra invertida (ej. \\’), saliendo del contexto de la cadena y ejecutando JavaScript arbitrario en el navegador de la víctima.\n\nEste problema afecta a absinthe_plug: desde 1.2.0.","source":"nvd"}],"published":"2026-05-08T15:42:40.706Z","modified":"2026-11-25T17:23:12.896Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"LOW"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"1.1.1","fixed":"1.5.10","status":"affected"}],"vendor":"absinthe-graphql","product":"absinthe_plug","package":"absinthe_plug","cpe":"cpe:2.3:a:absinthe-graphql:absinthe_plug:*:*:*:*:*:*:*:*","repo":"https://github.com/absinthe-graphql/absinthe_plug","source":"cvelist"},{"ranges":[{"type":"git","introduced":"26241817cb4b9be4de3f5972c5fba3d36de3d713","fixed":"23a0d5658d32420086711adf4ce8f05febb09963","status":"affected"}],"vendor":"absinthe-graphql","product":"absinthe_plug","package":"absinthe-graphql/absinthe_plug","cpe":"cpe:2.3:a:absinthe-graphql:absinthe_plug:*:*:*:*:*:*:*:*","repo":"https://github.com/absinthe-graphql/absinthe_plug","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.2.0","status":"affected","lastAffected":"1.5.9"}],"ecosystem":"Hex","package":"absinthe_plug","purl":"pkg:hex/absinthe_plug","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.1.1","status":"affected","fixed":"1.5.10"}],"ecosystem":"Hex","package":"absinthe_plug","purl":"pkg:hex/absinthe_plug","source":"eef"},{"ranges":[{"type":"git","introduced":"26241817cb4b9be4de3f5972c5fba3d36de3d713","status":"affected","fixed":"23a0d5658d32420086711adf4ce8f05febb09963"}],"repo":"https://github.com/absinthe-graphql/absinthe_plug","source":"eef"},{"ranges":[{"status":"affected","introduced":"1.2.0","fixed":"1.5.10"}],"vendor":"absinthe-graphql","product":"absinthe.plug","cpe":"cpe:2.3:a:absinthe-graphql:absinthe.plug:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/absinthe-graphql/absinthe_plug/issues/275","tags":["advisory","exploit","issue-tracking","vendor-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-42794.html","tags":["related","third-party-advisory","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-42794","tags":["related","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/absinthe-graphql/absinthe_plug/commit/26241817cb4b9be4de3f5972c5fba3d36de3d713","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/absinthe-graphql/absinthe_plug/commit/23a0d5658d32420086711adf4ce8f05febb09963","tags":["fix","patch","web"],"sources":["cvelist","ghsa","eef","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42794","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/absinthe-graphql/absinthe_plug","tags":["package"],"sources":["ghsa"]},{"url":"https://hex.pm/packages/absinthe_plug","tags":["package"],"sources":["eef"]}],"credits":["40826d","Bryan A. Enders","Leandro Moreno","Ben Wilson"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-08T16:07:51.313Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42794","url":"https://www.cve.org/CVERecord?id=CVE-2026-42794","licence":"CVE Terms of Use","modified":"2026-11-20T04:51:11.125Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c62g-j346-39v5","url":"https://github.com/advisories/GHSA-c62g-j346-39v5","licence":"CC-BY-4.0","modified":"2026-06-08T23:15:17.805Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-42794","url":"https://osv.dev/vulnerability/EEF-CVE-2026-42794","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:12.896Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42794","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42794","licence":"Public domain","modified":"2026-11-20T05:18:55.813Z"}],"updatedAt":"2026-11-25T22:59:21.099Z","epss":{"score":0.00293,"percentile":0.23634,"date":"2026-12-01T12:00:22.000Z"}}