{"answers":{"affected":"3 open source packages ship an affected version, including absinthe_plug. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42794 exists.","fix":"Upgrade absinthe_plug to 1.5.10 or later.","what":"CVE-2026-42794 is a low-severity cross-site scripting vulnerability in absinthe-graphql absinthe_plug, published on 8 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-42794 and fix it if it is affected.\n\nWhat it is: CVE-2026-42794 is a low-severity cross-site scripting vulnerability in absinthe-graphql absinthe_plug, published on 8 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42794 exists.\n\nAffected packages and fixed versions:\n- absinthe_plug (Hex): affected from 1.2.0 up to 1.5.9; no fix listed\n- absinthe_plug (Hex): affected from 1.2.0 up to 1.5.9; no fix listed\n- absinthe_plug (Hex): affected from 1.2.0; fixed in 1.5.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42794/ (Markdown: https://insights.sbomify.com/CVE-2026-42794/index.md)","id":"CVE-2026-42794","markdown":"https://insights.sbomify.com/CVE-2026-42794/index.md","name":"CVE-2026-42794","record":{"aliases":["EEF-CVE-2026-42794","GHSA-c62g-j346-39v5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Elixir GraphQL library","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript in victims' browsers via reflected XSS in the GraphiQL interface due to improper backslash escaping.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[{"product":"absinthe.plug","vendor":"absinthe-graphql"}],"cvss":{"score":2.3,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.\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 before 1.5.10.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Reflected XSS via backslash bypass in GraphiQL js_escape in absinthe_plug","id":"CVE-2026-42794","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Symlink Following in Hex Package Export Allows Embedding Files Outside Project Root","id":"CVE-2026-42795"},"packages":[{"ecosystem":"Hex","fixed":[],"introduced":["1.2.0"],"last_affected":["1.5.9"],"package":"absinthe_plug","purl":null,"source":"GHSA-c62g-j346-39v5"},{"ecosystem":"Hex","fixed":[],"introduced":["1.2.0"],"last_affected":["1.5.9"],"package":"absinthe_plug","purl":"pkg:hex/absinthe_plug","source":"GHSA-c62g-j346-39v5"},{"ecosystem":"Hex","fixed":["1.5.10"],"introduced":["1.2.0"],"last_affected":[],"package":"absinthe_plug","purl":"pkg:hex/absinthe_plug","source":"EEF-CVE-2026-42794"}],"prev":{"headline":"Atom table exhaustion via attacker-controlled GraphQL SDL names in absinthe","id":"CVE-2026-42793"},"products":["absinthe_plug"],"published":"2026-05-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-16","vendors":["absinthe-graphql"]},"summary":"Attackers can execute arbitrary JavaScript in victims' browsers via reflected XSS in the GraphiQL interface due to improper backslash escaping.","url":"https://insights.sbomify.com/CVE-2026-42794/"}