توضیح (فارسی)
OPNsense 24.7 قبل از 25.7.3 حاوی یک آسیب پذیری XSS مبتنی بر DOM در ویجت داشبورد LiveLog (src/opnsense/www/js/widgets/LiveLog.js) است که فیلدهای timestamp، severity، process و message از رکوردهای سیستم لاگ از جریان رویداد لاگ زنده را از طریق قالبهای HTML ویجت BaseTableWidget بدون escaping در صفحه قرار میدهد، در حالی که ApiControllerBase::configdStream() خروجی streamed backend را به مرورگر بدون escaping HTML که به پاسخهای دیگر API اعمال میشود ارسال میکرد. مهاجمانی که بتوانند متن ایجاد شده را در لاگ سیستم بنویسند، میتوانند جاوااسکریپت دلخواه در نشست WebGUI مدیری که داشبورد حاوی ویجت LiveLog را نمایش میدهد اجرا کنند.
Original description (English)
OPNsense 24.7 before 25.7.3 contains a DOM-based cross-site scripting vulnerability in the LiveLog dashboard widget (src/opnsense/www/js/widgets/LiveLog.js), which inserts the timestamp, severity, process and message fields of system log records from the live log event stream into the page through BaseTableWidget's HTML templates without escaping, while ApiControllerBase::configdStream() sent streamed backend output to the browser without the HTML escaping applied to other API responses. Attackers able to get crafted text written to the system log can execute arbitrary JavaScript in the WebGUI session of an administrator who views a dashboard containing the LiveLog widget.