CVE-2026-43938

HIGH CVSS 3.1: 8.1 EPSS 0.28%
Updated Jun 17, 2026
YetAnotherForum
Parameter Value
CVSS 8.1 (HIGH)
Fixed In 4.0.5
Type CWE-79 (Cross-Site Scripting (XSS)), CWE-116 (Improper Encoding or Escaping of Output), CWE-80 (Improper Neutralization of Script-Related HTML Tags (XSS))
Vendor YetAnotherForum
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1