GHSA-8wmw-prw8-2ggm

Suggest an improvement
Source
https://github.com/advisories/GHSA-8wmw-prw8-2ggm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8wmw-prw8-2ggm/GHSA-8wmw-prw8-2ggm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8wmw-prw8-2ggm
Aliases
  • CVE-2026-31317
Published
2026-04-17T15:31:18Z
Modified
2026-05-05T16:04:46Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N CVSS Calculator
Summary
Craftql vulnerable to Server-Side Request Forgery
Details

Craftql v1.3.7 and before is vulnerable to Server-Side Request Forgery (SSRF) which allows an attacker to execute arbitrary code via the vendor/markhuot/craftql/src/Listeners/GetAssetsFieldSchema.php file.

Database specific
{
    "cwe_ids":  [
        "CWE-918"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-04-18T01:03:36Z",
    "nvd_published_at":  "2026-04-17T14:16:33Z",
    "severity":  "MODERATE"
}
References

Affected packages

Packagist / markhuot/craftql

Package

Name
markhuot/craftql
Purl
pkg:composer/markhuot/craftql

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.3.7

Affected versions

1.*
1.0.0-beta.1
1.0.0-beta.2
1.0.0-beta.3
1.0.0-beta.4
1.0.0-beta.5
1.0.0-beta.6
1.0.0-beta.7
1.0.0-beta.8
1.0.0-beta.9
1.0.0-beta.10
1.0.0-beta.11
1.0.0-beta.12
1.0.0-beta.13
1.0.0-beta.14
1.0.0-beta.15
1.0.0-beta.16
1.0.0-beta.17
1.0.0-beta.18
1.0.0-beta.19
1.0.0-beta.20
1.0.0-beta.21
1.0.0-beta.22
1.0.0-beta.23
1.0.0-beta.24
1.0.0-beta.25
1.0.0-beta.26
1.0.0-beta.27
1.0.0-beta.28
1.0.0-beta.29
1.0.0
1.1.0
1.2.0
1.2.1
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8wmw-prw8-2ggm/GHSA-8wmw-prw8-2ggm.json"