CVE-2026-43938HIGH 8.1EPSS p19.7%
CVE-2026-43938CVE-2026-43938
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.
Scoring
| CVSS 3.1 | 8.1 (HIGH) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| EPSS | 0.28% probability of exploitation · percentile 19.7% · 2026-06-19T12:03:05Z |
| Published | 2026-05-12 |
| Last modified | 2026-05-13 |
Underlying weaknesses· 3
References
3
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Encoding or Escaping of Outputcwe-116 | 0% | live |
| Weakness | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')cwe-79 | 0% | live |
| Weakness | Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)cwe-80 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.