GHSA-c62g-j346-39v5

Suggest an improvement
Source
https://github.com/advisories/GHSA-c62g-j346-39v5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-c62g-j346-39v5/GHSA-c62g-j346-39v5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c62g-j346-39v5
Aliases
Published
2026-05-08T18:31:35Z
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
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.

Database specific
{
    "github_reviewed_at": "2026-05-14T13:09:29Z",
    "nvd_published_at": "2026-05-08T16:16:12Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "LOW",
    "github_reviewed": true
}
References

Affected packages

Hex / absinthe_plug

Package

Name
absinthe_plug
Purl
pkg:hex/absinthe_plug

Affected ranges

Type
SEMVER
Events
Introduced
1.2.0
Last affected
1.5.9

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://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-c62g-j346-39v5/GHSA-c62g-j346-39v5.json"