CVE-2026-43938
YetAnotherForum.NET (YAF.NET) is a C# ASP.NET forum. Prior to 4.0.5 …
YetAnotherForum.NET (YAF.NET) is a C# ASP.NET forum. Prior to 4.0.5 and 3.2.12, the application's database logger (YAFNET.Core/Logger/DbLogger.cs) captures the incoming request's User-Agent header into a JObject, serializes it with JsonConvert, and stores the result in the EventLog.Description column whenever an event (e.g., an unhandled exception) is logged. The admin event-log page (YetAnotherForum.NET/Pages/Admin/EventLog.cshtml.cs) later deserializes that JSON in FormatStackTrace() and interpolates the UserAgent value directly into an HTML string with no encoding, and the Razor view EventLog.cshtml emits the result through @Html.Raw. This vulnerability is fixed in 4.0.5 and 3.2.12.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/YAFNET/YAFNET/security/advisories/GHSA-33gv-fc78-qgf5
- github.com/YAFNET/YAFNET/releases/tag/v3.2.12
- github.com/YAFNET/YAFNET/releases/tag/v4.0.5
- github.com/advisories/GHSA-33gv-fc78-qgf5
- nvd.nist.gov/vuln/detail/CVE-2026-43938
- nvd.nist.gov/vuln/detail/CVE-2026-43938
- cve.org/CVERecord?id=CVE-2026-43938
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.