EEF-CVE-2026-42794

Source
https://cna.erlef.org/osv/EEF-CVE-2026-42794.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-42794.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-42794
Aliases
Published
2026-05-08T15:42:40.706Z
Modified
2026-05-14T13:26:10.734271222Z
Severity
  • 2.3 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Reflected XSS via backslash bypass in GraphiQL js_escape in absinthe_plug
Details

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.

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

Configuration

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

Database specific
{
    "capec_ids": [
        "CAPEC-86"
    ],
    "cpe_ids": [
        "cpe:2.3:a:absinthe-graphql:absinthe_plug:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
        "CWE-79"
    ]
}
References
Credits
    • 40826d - FINDER
    • Bryan A. Enders - FINDER
    • Leandro Moreno - REMEDIATION_DEVELOPER
    • Ben Wilson - REMEDIATION_REVIEWER

Affected packages

Hex / absinthe_plug

Package

Name
absinthe_plug
Purl
pkg:hex/absinthe_plug

Affected ranges

Type
SEMVER
Events
Introduced
1.2.0

Affected versions

1.*
1.2.0
1.2.2
1.2.3
1.2.4
1.2.5
1.3.0-alpha.0
1.3.0-beta.0
1.3.0-beta.1
1.3.0-rc.0
1.3.0-rc.1
1.3.0
1.3.1
1.4.0-beta.1
1.4.0-beta.2
1.4.0-rc.0
1.4.0-rc.1
1.4.0-rc.2
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.5.0-alpha.0
1.5.0-rc.0
1.5.0-rc.1
1.5.0-rc.2
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.5.8
1.5.9

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-42794.json"

Git / github.com/absinthe-graphql/absinthe_plug

Affected ranges

Type
GIT
Repo
https://github.com/absinthe-graphql/absinthe_plug
Events

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-42794.json"