{"id":"CVE-2026-43938","sourceIdentifier":"security-advisories@github.com","published":"2026-05-12T15:16:15.497","lastModified":"2026-06-17T10:50:05.700","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"YAFNET","product":"YAFNET","versions":[{"version":">= 4.0.0-beta.1, < 4.0.5","status":"affected"},{"version":"< 3.2.12","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-05-12T15:39:17.598324Z","id":"CVE-2026-43938","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"},{"lang":"en","value":"CWE-80"},{"lang":"en","value":"CWE-116"}]}],"references":[{"url":"https://github.com/YAFNET/YAFNET/security/advisories/GHSA-33gv-fc78-qgf5","source":"security-advisories@github.com"},{"url":"https://github.com/YAFNET/YAFNET/security/advisories/GHSA-33gv-fc78-qgf5","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}