GHSA-Q977-85XC-W698
Vulnerability from github – Published: 2026-05-20 09:30 – Updated: 2026-05-20 09:30
VLAI?
Details
NextGEN Gallery version prior to 4.2.1 are vulnerable to authenticated SQL injection via the 'orderby' parameter on the REST API endpoints '/imagely/v1/galleries' and '/imagely/v1/albums'.
The root cause is an insufficient sanitization function ('_clean_column()') in the data mapper layer that uses a character blacklist instead of a whitelist approach. This allows an authenticated attacker with the 'NextGEN Gallery overview' capability (assigned to the Administrator role by default) to inject arbitrary SQL into the 'ORDER BY' clause.
Severity ?
{
"affected": [],
"aliases": [
"CVE-2026-9059"
],
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-05-20T09:16:27Z",
"severity": "CRITICAL"
},
"details": "NextGEN Gallery version prior to 4.2.1 are vulnerable to authenticated SQL injection via the \u0027orderby\u0027 parameter on the REST API endpoints \u0027/imagely/v1/galleries\u0027 and \u0027/imagely/v1/albums\u0027.\n\n\n\nThe root cause is an insufficient sanitization function (\u0027_clean_column()\u0027) in the data mapper layer that uses a character blacklist instead of a whitelist approach. This allows an authenticated attacker with the \u0027NextGEN Gallery overview\u0027 capability (assigned to the Administrator role by default) to inject arbitrary SQL into the \u0027ORDER BY\u0027 clause.",
"id": "GHSA-q977-85xc-w698",
"modified": "2026-05-20T09:30:34Z",
"published": "2026-05-20T09:30:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9059"
},
{
"type": "WEB",
"url": "https://www.tenable.com/security/research/tra-2026-42"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…