CVE-2026-43938

High

Description

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductYafnet.core
PublishedMay 12, 2026
First seenMay 12, 2026

How to fix

Update
  • YAFNET.Core4.0.5, 3.2.12 or later

Affected products

ProductAffected versionsFixed in
YAFNET.CoreNuGet4.0.0-beta01 ≤ v < 4.0.5, v < 3.2.124.0.5, 3.2.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-43938 · Yafnet.core · Dark Radar