Security advisory
SQL Injection via ORDER BY clause in V2Board thru 1.7.4. In app/Http/Controllers/Admin/UserController.php, the sort parameter from user input is passed directly to User::orderBy($sort, $sortType) without validation. An authenticated admin can sort users by any database column including password, remember_token, and other sensitive fields, enabling information disclosure through ordering analysis.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-37505
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:42 UTC · Revision 1
Source evidence
SQL Injection via ORDER BY clause in V2Board thru 1.7.4. In app/Http/Controllers/Admin/UserController.php, the sort parameter from user input is passed directly to User::orderBy($sort, $sortType) without validation. An authenticated admin can sort users by any database column including password, remember_token, and other sensitive fields, enabling information disclosure through ordering analysis.
osv:CVE-2026-37505
Complete source record
{
"id": "18f4c7d69169e0589698a155d9b815c9026556bde9a5d2cd3777341907ce394f",
"url": "https://osv.dev/vulnerability/CVE-2026-37505",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-37505",
"summary": "SQL Injection via ORDER BY clause in V2Board thru 1.7.4. In app/Http/Controllers/Admin/UserController.php, the sort parameter from user input is passed directly to User::orderBy($sort, $sortType) without validation. An authenticated admin can sort users by any database column including password, remember_token, and other sensitive fields, enabling information disclosure through ordering analysis.",
"evidence": "osv:CVE-2026-37505",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-37505",
"aliases": [
"CVE-2026-37505"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:H/S:U/UI:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/v2board/v2board",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0ca47622a50116d0ddd7ffb316b157afb57d25e8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:v2board:v2board:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.7.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.7.4",
"1.7.3",
"1.7.2",
"1.7.1",
"1.7.0",
"1.6.1",
"1.6.0",
"1.5.5",
"1.5.4",
"1.5.3",
"1.5.2",
"1.5.1",
"1.5.0",
"1.4.3",
"1.4.2",
"1.4.1",
"1.4",
"1.3.2",
"1.3.1",
"1.3",
"1.2.5",
"1.2.4",
"1.2.3",
"1.2.2",
"1.2.1",
"1.2",
"1.1.2",
"1.1.1",
"1.1",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-37505.json"
}
}
],
"modified": "2026-10-28T02:30:30.533756798Z",
"provider": "osv",
"references": [
"https://gist.github.com/sgInnora/1330e1a82caa79906eec55eeff2c99b9",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/37xxx/CVE-2026-37505.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-37505",
"https://github.com/v2board/v2board"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/37xxx/CVE-2026-37505.json"
}
},
"related_cves": [
{
"value": "CVE-2026-37505",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497483,
"published_at": "2026-05-01T00:00:00+00:00"
}