Vulnerability GHSA-c62g-j346-39v5

Medium Risk
MEDIUM RISK
CVSS Score: 6.1
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
6 months ago
May 08, 2026 at 06:31 PM UTC
absinthe_plug Has a Cross-site Scripting vulnerability
1.2.0 and 1.2.2 - 1.3.0-alpha.0 and 1.3.0-beta.0 and 1.3.0-beta.1 and 1.3.0-rc.0 and 1.3.0-rc.1 and 1.3.0 - 1.4.0-beta.1 and 1.4.0-beta.2 and 1.4.0-rc.0 and 1.4.0-rc.1 and 1.4.0-rc.2 and 1.4.0 - 1.5.0-alpha.0 and 1.5.0-rc.0 and 1.5.0-rc.1 and 1.5.0-rc.2 and 1.5.0 - 1.5.9
1.2.0 and 1.2.2 - 1.3.0-alpha.0 and 1.3.0-beta.0 and 1.3.0-beta.1 and 1.3.0-rc.0 and 1.3.0-rc.1 and 1.3.0 - 1.4.0-beta.1 and 1.4.0-beta.2 and 1.4.0-rc.0 and 1.4.0-rc.1 and 1.4.0-rc.2 and 1.4.0 - 1.5.0-alpha.0 and 1.5.0-rc.0 and 1.5.0-rc.1 and 1.5.0-rc.2 and 1.5.0 - 1.5.9

Summary

absinthe_plug Has a Cross-site Scripting vulnerability

Details

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.

Impacted packages

Timeline

Published
6 months ago
May 08, 2026 at 06:31 PM UTC
Last Modified
5 months ago
June 08, 2026 at 11:15 PM UTC