Live threats

All CVEs / YAFNET

CVE-2026-43938YAFNET

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
—
Auth required
No
Published
May 12, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-80, CWE-116
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for YAFNET.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet YAFNET.Core ≥ 4.0.0-beta01 < 4.0.5 4.0.5 dotnet add package YAFNET.Core --version 4.0.5
NuGet YAFNET.Core < 3.2.12 3.2.12 dotnet add package YAFNET.Core --version 3.2.12

Per OSV / GitHub Advisories (GHSA-33gv-fc78-qgf5). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.