Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/YAFNET/YAFNET/security/advisories/GHSA-33gv-fc78-qgf5
- https://github.com/YAFNET/YAFNET/security/advisories/GHSA-33gv-fc78-qgf5
FAQ
What is CVE-2026-43938?
CVE-2026-43938 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 int...
How severe is CVE-2026-43938?
CVE-2026-43938 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-43938?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.