جزئیات آسیبپذیری
CVE-2026-43938
YAF.NET: Unauthenticated Stored Second-Order XSS in Admin Event Log via Reflected `User-Agent` Header
شرح رسمی (انگلیسی)
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
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 8.1بالا | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| YAFNET | YAFNET | < 3.2.12 | CVEProject cvelistV5 (CNA) |
| YAFNET | YAFNET | >= 4.0.0-beta.1, < 4.0.5 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۱- https://github.com/YAFNET/YAFNET/security/advisories/GHSA-33gv-fc78-qgf5 x_refsource_CONFIRM
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۲/۲۲
- آخرین بهروزرسانی
- ۱۴۰۵/۰۲/۲۲
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-80Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
- CWE-116Improper Encoding or Escaping of Output