Home

Description

YetAnotherForum.NET (YAF.NET) is a C# ASP.NET forum. Prior to 4.0.5, Any admin OnPost… handler executes its side effects before the ResultFilterAttribute rewrites the response to a 302 to /Info/4. The most impactful abuse is /Admin/RunSql, whose OnPostRunQuery binds Editor from the POST body and passes it straight to IDbAccess.RunSql with no caller check, yielding arbitrary SQL execution for any low-privileged user. This vulnerability is fixed in 4.0.5.

PUBLISHED Reserved 2026-05-04 | Published 2026-05-12 | Updated 2026-05-12 | Assigner GitHub_M




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CWE-841: Improper Enforcement of Behavioral Workflow

Product status

< 4.0.5
affected

References

github.com/...YAFNET/security/advisories/GHSA-xhw7-j96h-c3g5 exploit

github.com/...YAFNET/security/advisories/GHSA-xhw7-j96h-c3g5

cve.org (CVE-2026-43937)

nvd.nist.gov (CVE-2026-43937)

Download JSON