Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-43938— YAF.NET: Unauthenticated Stored Second-Order XSS in Admin Event Log via Reflected `User-Agent` Header

Quick assessment

Affected
YAFNET YAFNET
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

YAFNET是YAFNET个人开发者的ASP.NET 开源论坛解决方案。 YAFNET 4.0.5之前版本和3.2.12之前版本存在跨站脚本漏洞,该漏洞源于数据库日志记录器将用户代理标头序列化为JSON后未编码直接渲染,可能导致跨站脚本攻击。

CVSS 8.1 · High EPSS 0.38% · P30

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
YAFNET YAFNET >= 4.0.0-beta.1, < 4.0.5 affected
< 3.2.12 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-43938

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
YAF.NET: Unauthenticated Stored Second-Order XSS in Admin Event Log via Reflected `User-Agent` Header
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
YAFNET 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
YAFNET是YAFNET个人开发者的ASP.NET 开源论坛解决方案。 YAFNET 4.0.5之前版本和3.2.12之前版本存在跨站脚本漏洞,该漏洞源于数据库日志记录器将用户代理标头序列化为JSON后未编码直接渲染,可能导致跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
YAFNET YAFNET >= 4.0.0-beta.1, < 4.0.5 -

II. Public POCs for CVE-2026-43938

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-43938

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-43938 (1)

Same Patch Batch · YAFNET · 2026-05-12 · 3 CVEs total

CVE-2026-43937 8.8 HIGH YAF.NET: Pre-Handler Authorization Bypass on Admin Pages Enabling Blind SQL Execution via
CVE-2026-43939 7.3 HIGH YAF.NET: Stored XSS in Forum Thread Posts/Replies Allowing Arbitrary JavaScript Execution

IV. Related Vulnerabilities

V. Comments for CVE-2026-43938

No comments yet


Leave a comment