{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-43938","id":"CVE-2026-43938","title":"YAF.NET: Unauthenticated Stored Second-Order XSS in Admin Event Log via Reflected `User-Agent` Header","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 (YetAnotherFo","descriptionLong":"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.","published":"2026-05-12T13:57:56.951Z","updated":"2026-10-28T02:30:56.142876091Z","reserved":"2026-05-04T16:59:09.089Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["YAFNET"],"affectedProducts":[{"vendor":"YAFNET","product":"YAFNET","defaultStatus":null,"versions":[{"version":">= 4.0.0-beta.1, < 4.0.5","status":"affected"},{"version":"< 3.2.12","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"YAFNET.Core","purl":"pkg:nuget/YAFNET.Core","ranges":[">=4.0.0-beta01 <4.0.5","<3.2.12"],"fixed":["4.0.5","3.2.12"],"advisory":"GHSA-33gv-fc78-qgf5"}],"cwes":["CWE-79","CWE-80","CWE-116"],"aliases":["GHSA-33gv-fc78-qgf5"],"references":[{"url":"https://github.com/YAFNET/YAFNET/security/advisories/GHSA-33gv-fc78-qgf5","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43938.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43938","tags":["advisory"]},{"url":"https://github.com/YAFNET/YAFNET","tags":["package"]},{"url":"https://github.com/YAFNET/YAFNET/releases/tag/v3.2.12","tags":["web"]},{"url":"https://github.com/YAFNET/YAFNET/releases/tag/v4.0.5","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00282,"epssPercentile":0.21137,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-43938","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43938","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-43938","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-33gv-fc78-qgf5","ok":true,"note":"GHSA-33gv-fc78-qgf5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-43938","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}