Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain ability to write to system log
-
DeliveryInject crafted XSS payload into log record
-
ExploitAdmin views dashboard with LiveLog widget
-
ExecutionUnescaped log field renders JavaScript in session
-
ImpactExecute actions as firewall administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker can cause crafted text to be written into a system log record (timestamp, severity, process or message field) that is carried by the live log event stream, AND that a WebGUI administrator subsequently views a dashboard on which the LiveLog widget is configured (UI:P - the admin must open/render the widget). It is limited to OPNsense 24.7 through versions before 25.7.3 and to deployments where the LiveLog widget is placed on an admin dashboard; per the CVSS vector the attacker is attributed low privilege (PR:L) and the AT:P/AV:L metrics indicate the payload is delivered through the local log stream rather than a direct network request. The practical limiting factors are the need for a log-writing foothold and an administrator actively viewing the vulnerable widget; the real reach depends on which log source can be influenced, which is not detailed in the available sources. |
| Impact | This is a medium-severity (CVSS 4.0 base 5.3) DOM-based stored/log-injection XSS, not a drop-everything emergency, and the signals are internally consistent rather than conflicting. The vuln.today decision label is 'this_month' (not act_now/emergency), it is NOT listed in CISA KEV, no EPSS score was provided, and no public exploit or PoC reference is present - the only references are the vendor changelog and the two fix commits. Exploitation status: no public exploit identified at time of analysis. The CVSS 4.0 vector itself tempers the raw impact: AV:L (the payload is delivered via the local system-log stream, not a direct remote request), AT:P (a particular attack requirement/condition must hold), PR:L (low privilege attributed), and UI:P (a victim administrator must passively view the LiveLog dashboard). The high impact ratings (VC:H/VI:H) are real - successful execution runs arbitrary JavaScript inside an authenticated admin WebGUI session, which on a firewall effectively means control of the device - but the chain requires both the ability to get crafted text into the logged event stream AND an admin viewing a dashboard that contains the LiveLog widget. Net: a genuine issue worth patching on a normal cycle, elevated by the admin-session impact but held down by the multi-condition, locally-delivered, interaction-dependent trigger and the absence of any KEV/EPSS/PoC exploitation evidence. One caveat to verify: AV:L and PR:L are debatable - some system-log sources (failed logins, firewall drops) can be driven by unauthenticated/remote actors, which would raise real-world reachability above what PR:L/AV:L imply; confirm the specific log source feeding the widget. |
| Exploit ScenarioDerived | An attacker causes attacker-controlled text containing an HTML/JavaScript payload to be written into a system log that feeds OPNsense's live log event stream. Because configdStream() streamed backend output without the HTML escaping applied to other API responses, and BaseTableWidget inserted the timestamp/severity/process/message fields unescaped, the payload executes when a firewall administrator opens a dashboard containing the LiveLog widget - running arbitrary JavaScript in that admin's WebGUI session. No public exploit or PoC reference is present in the supplied data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 04, 2026
Stored, DOM-based cross-site scripting in the OPNsense WebGUI LiveLog dashboard widget lets an attacker who can get crafted text written into a system log record run arbitrary JavaScript in an administrator's browser session when that administrator opens a dashboard on which the LiveLog widget is rendered. OPNsense 24.7 through versions before 25.7.3 are affected, and the practical chain requires both a log-writing foothold and an administrator actively viewing the widget (assessed CVSS 3.1 AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N; vendor CVSS 4.0 base 5.3). No public exploit code was identified at time of analysis and there is no CISA KEV listing, so this is a medium-severity hardening item rather than an emergency.
RemediationAI
Upgrade to OPNsense 25.7.3 or later, which is the release named in the vendor changelog (https://github.com/opnsense/changelog/blob/master/community/25.7/25.7.3) and which carries the output-escaping rework in Response::setContent()/configdStream() plus the LiveLog widget changes from commits afdeafea59237c10008b6824a421cb065d3a7113 and d2cd53ec41b66168f3e797f76a1262274df5092f. Where upgrading must be staged, remove the LiveLog widget from administrator dashboards until the upgrade lands; the trade-off is loss of the live-log view on the dashboard, but it closes the render path the exploit depends on. Because the entry point is text written into a system log record, also reduce the set of principals and services that can write attacker-controlled strings into logs the widget displays, and restrict WebGUI administrator sessions to trusted operators and networks - these lower the chance of a log-injection foothold and the chance an administrator renders a poisoned entry, at the cost of tighter operational access. Note the upstream comment that existing callers are assumed safe by default, so any local customization that streams raw configd output through these controllers must be re-checked after the upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-79 (improper neutralization of input during web page generation) with a DOM-based delivery path. LiveLog.js (src/opnsense/www/js/widgets/LiveLog.js) takes the timestamp, severity, process and message fields of records arriving over the live log event stream and interpolates them into BaseTableWidget's HTML templates without escaping, so server-supplied log text becomes markup in the dashboard DOM. The backend compounded this: ApiControllerBase::configdStream() streamed configd output to the browser without the htmlspecialchars(..., ENT_NOQUOTES) escaping that the controller applied to ordinary API responses, so log lines reached the client verbatim. The upstream fix generalizes output handling in the MVC layer: Response::setContent() gains a $safe flag, ApiControllerBase::configdStream() gains a matching $safe parameter and defaults to escaping, Response::send() escapes both streamed (fpassthru versus per-line htmlspecialchars) and JSON payloads unless explicitly marked safe, the Diagnostics LogController's streaming call passes true, and ControllerBase marks rendered view content safe. The CVSS 4.0 metrics AT:P and AV:L describe delivery of the payload through the local log stream rather than a direct network request; the specific log sources an attacker can influence are not detailed in the available sources.
Know when Opnsense gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Payload is delivered via the local log stream (AV:L) under a conditional trigger (AC:H), needs an admin to view the widget (UI:R), and runs in the browser context (S:C) with full admin-session C/I impact and no availability loss.
Primary rating from Vendor (1a4f025a-074d-4105-b4e2-52bd8eabe2ea).
CVSS VectorVendor: 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in OPNsense CSRF and XSS Vulnerabilities
View all 2Insecure permissions in the configuration directory (/conf/) of OPNsense Community Edition before 23.7 and Business Edit
DECISO OPNsense 23.1 does not impose rate limits for authentication, allowing attackers to perform a brute-force attack
A command injection vulnerability in the component /api/cron/settings/setJob/ of OPNsense Community Edition before 23.7
A command injection vulnerability in the component diag_backup.php of OPNsense Community Edition before 23.7 and Busines
/ui/cron/item/open in the Cron component of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 al
OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 was discovered to contain insecure permissions
Insecure permissions exist for configd.socket in OPNsense Community Edition before 23.7 and Business Edition before 23.4
A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Busine
A Cross-Site Request Forgery (CSRF) in the System Halt API (/system/halt) of OPNsense Community Edition before 23.7 and
OPNsense 19.1 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicio
OPNsense 19.1 contains a stored cross-site scripting vulnerability in the system_advanced_sysctl.php endpoint that allow
OPNsense 19.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject ma
EUVD-2026-143780
GHSA-9c34-rhfr-hfr3
NVD
CVE.org
EPSS
Exploit-DB