# CVE-2026-42794: Reflected XSS via backslash bypass in GraphiQL js_escape in absinthe_plug

- Severity: Low 2.3 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T15:42:40.706Z
- Modified: 2026-11-25T17:23:12.896Z
- Also known as: GHSA-c62g-j346-39v5, EEF-CVE-2026-42794
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## 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.

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.1.1 before 1.5.10.

(As written by CVE List.)

## Affected

- absinthe_plug: from 1.1.1 before 1.5.10
- absinthe-graphql/absinthe_plug: from 26241817cb4b9be4de3f5972c5fba3d36de3d713 before 23a0d5658d32420086711adf4ce8f05febb09963
- absinthe_plug (Hex): from 1.2.0 up to 1.5.9; from 1.1.1 before 1.5.10
- https://github.com/absinthe-graphql/absinthe_plug: from 26241817cb4b9be4de3f5972c5fba3d36de3d713 before 23a0d5658d32420086711adf4ce8f05febb09963
- absinthe-graphql absinthe.plug: from 1.2.0 before 1.5.10

## Every score

- EEF: CVSS:4.0 2.3 Low `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`
- GitHub: CVSS:3.1 6.1 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/absinthe-graphql/absinthe_plug/issues/275> (exploit, advisory, issue-tracking, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-42794.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-42794> (related, third-party-advisory, web)
- <https://github.com/absinthe-graphql/absinthe_plug/commit/26241817cb4b9be4de3f5972c5fba3d36de3d713> (related, web)
- <https://github.com/absinthe-graphql/absinthe_plug/commit/23a0d5658d32420086711adf4ce8f05febb09963> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42794> (advisory)
- <https://github.com/absinthe-graphql/absinthe_plug> (package)
- <https://hex.pm/packages/absinthe_plug> (package)

## Sources

- CVE List: [CVE-2026-42794](https://www.cve.org/CVERecord?id=CVE-2026-42794), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-c62g-j346-39v5](https://github.com/advisories/GHSA-c62g-j346-39v5), CC-BY-4.0, modified 2026-06-08
- Erlang Ecosystem Foundation: [EEF-CVE-2026-42794](https://osv.dev/vulnerability/EEF-CVE-2026-42794), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-42794](https://nvd.nist.gov/vuln/detail/CVE-2026-42794), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-42794 · Whole record: https://cve.day/CVE-2026-42794.json · Rebuilt by cve.day 2026-11-25T22:59:21.099Z
