Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker registers malicious JavaScript payload as PTR record
-
DeliveryGenerates high-volume traffic from controlled IP to achieve top-talker ranking
-
ExploitpfSense performs reverse DNS lookup, receives poisoned PTR
-
InstallUnsanitized PTR injected into AJAX response payload
-
C2Administrator views Traffic Graphs page, DOM sink renders payload
-
ExecuteArbitrary JavaScript executes in authenticated admin browser context
-
ImpactCreate backdoor accounts or execute OS commands via management interface
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 | Three specific conditions must be simultaneously satisfied. First, the attacker must control authoritative DNS PTR records for one or more IP addresses they can use as a traffic source - requiring either ownership of the IP range, control of the authoritative reverse-DNS zone, or ISP-level DNS manipulation. Second, the attacker must generate traffic from that IP in sufficient volume to rank among the top talkers visible in pfSense Traffic Graphs - a threshold-based condition requiring sustained or burst-level network activity; the exact threshold depends on baseline traffic on the monitored interface. Third, an authenticated pfSense administrator must navigate to the Traffic Graphs page while the malicious PTR record is present in the top-talkers list, constituting required passive user interaction (UI:P in the provided CVSS 4.0 vector). The Traffic Graphs feature with reverse DNS resolution must be active, which should be verified per deployment. Exploitation is bounded by: the DNS PTR control requirement (rules out passive bystanders), the traffic volume threshold (non-trivial for low-traffic environments), and administrator interaction (no exploitation without an active admin session viewing the affected page). |
| Impact | Despite the vendor-assigned CVSS 4.0 score of 5.3, real-world impact is substantially higher than the score implies. The provided CVSS 4.0 vector rates subsequent system impact as Low for both confidentiality and integrity (SC:L/SI:L), but the CVE description explicitly states full authenticated session access, account creation, and arbitrary OS command execution on the firewall - a complete perimeter device compromise. This is a significant inconsistency: the score treats the firewall management interface as a low-value subsequent system when it is, in practice, the primary high-value target. EPSS data was not provided, so exploitation probability cannot be quantified. KEV status is negative - no confirmed active exploitation at time of analysis. No public proof-of-concept exploit has been identified. Attack complexity is genuinely non-trivial: the attacker must control authoritative DNS for their IP range, and must generate sufficient traffic volume to rank in the top-talkers list, which requires either sustained high-volume activity or exploitation during a natural traffic event such as a DDoS. However, a motivated threat actor targeting firewall infrastructure - where the payoff is full network perimeter control - would find this chain attractive. The CVSS 4.0 vector's AT:N rating appears to underweight the top-talker threshold prerequisite, which constitutes a real attack requirement beyond standard network access. |
| Exploit ScenarioDerived | An attacker sets up authoritative DNS for their IP block and configures a PTR record containing a JavaScript payload such as an iframe, credential exfiltrator, or WebSocket-based backdoor. They then generate high-volume traffic through or toward the pfSense firewall - via a sustained scan, reflection attack originating from their IP, or coordinated flood - sufficient to appear in the Traffic Graphs top-talkers list. When an administrator navigates to the Traffic Graphs page, the unsanitized PTR record is injected into the DOM, executing the attacker's JavaScript in the admin's authenticated browser session, from which they can invoke the pfSense management API to create backdoor accounts or execute OS commands on the firewall host. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Stored cross-site scripting in pfSense Plus (before 26.07) and pfSense CE (through 2.8.1) allows an external attacker who controls a DNS PTR record to execute arbitrary JavaScript in an administrator's browser by engineering top-talker visibility in the Traffic Graphs feature, ultimately enabling account creation and OS command execution on the firewall. The attack chain bridges an unauthenticated DNS-layer injection through an unsanitized DOM sink in AJAX responses to full authenticated control of the management interface. No public exploit has been identified at time of analysis, but successful exploitation yields complete administrative compromise of a network perimeter device - making this a high-impact target despite its moderate CVSS 4.0 score of 5.3.
RemediationAI
Upgrade pfSense Plus to version 26.07 or later, and pfSense CE to version 2.9.0 or later; release notes are available at https://docs.netgate.com/pfsense/en/latest/releases/26-07.html and https://docs.netgate.com/pfsense/en/latest/releases/2-9-0.html respectively. The Netgate signed advisory at https://docs.netgate.com/downloads/pfSense-SA-26_21.webgui.asc should be reviewed for additional detail. If immediate patching is not feasible, restrict the firewall management interface to a dedicated out-of-band management VLAN or require VPN authentication before accessing the WebGUI - this eliminates the administrator-browser-side attack surface without affecting firewall operation. Disabling reverse DNS lookups within the Traffic Graphs feature, if configurable, would eliminate the vulnerable code path entirely at the cost of hostname resolution visibility in the top-talkers display. Generic network ACLs blocking admin access from untrusted networks should be treated as a minimum baseline, not a substitute for patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pfSense's Traffic Graphs feature performs reverse DNS lookups on the highest-volume network talkers and incorporates the returned PTR records directly into AJAX responses without HTML encoding or sanitization. These responses are consumed by a DOM sink in the administrator web interface - likely innerHTML or equivalent - allowing attacker-controlled PTR record content to be interpreted as HTML and JavaScript. CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-site Scripting) identifies the root cause: data from an external DNS source flows into a rendering context without escaping, bridging the DNS layer to the browser execution context. The vulnerability spans both Netgate product lines confirmed by CPE: cpe:2.3:a:netgate:pfsense_plus (all versions before 26.07) and cpe:2.3:a:netgate:pfsense_ce (all versions through 2.8.1). The EUVD entry EUVD-2026-62699 corroborates this scope. The tags 'Command Injection' and 'XSS' reflect the two-stage impact: stored XSS is the delivery mechanism, and OS command injection is the post-exploitation capability enabled via the management interface.
Know when Pfsense Plus 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:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
AC:H for required PTR control and top-talker traffic threshold; S:C and C:H/I:H reflect full session takeover enabling OS command execution on the firewall.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
pfSense Plus before 26.07 and pfSense CE through 2.8.1 contain a stored cross-site scripting vulnerability in the Traffic Graphs top-talkers feature, where PTR records returned by reverse DNS lookups are incorporated without sanitization into AJAX responses and rendered as HTML through a DOM sink in the administrator interface. An attacker who controls a PTR record and generates sufficient traffic to appear as a top talker can execute arbitrary JavaScript in an administrator's browser, gaining access to the authenticated session context and same-origin access to the firewall management interface, enabling account creation and arbitrary OS command execution.
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.
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Pfsense Plus
View allThe SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
Improper restriction of excessive authentication attempts in the SSHGuard component of Netgate pfSense Plus software v22
PHP code execution on Netgate pfSense Plus and pfSense CE firewalls can be achieved by an authenticated, highly privileg
Netgate pfSense CE (prior to 2.8.0 beta release) and corresponding Plus builds is vulnerable to Cross-site scripting (XS
An issue in Netgate pfSense Plus v.23.05.1 and before and pfSense CE v.2.7.0 allows a remote attacker to execute arbitra
An issue in Netgate pfSense v.2.7.0 allows a remote attacker to execute arbitrary code via a crafted request to the inte
Improper access control vulnerability in pfSense CE and pfSense Plus (pfSense CE software versions prior to 2.6.0 and pf
Improper input validation vulnerability in pfSense CE and pfSense Plus (pfSense CE software versions prior to 2.6.0 and
Stored cross-site scripting in pfSense Plus before 26.07 and CE before 2.9.0 allows an authenticated attacker holding th
Stored cross-site scripting in pfSense Plus and pfSense CE allows an authenticated attacker holding the 'Firewall: Rules
Stored XSS in pfSense Plus before 26.07 and pfSense CE before 2.9.0 allows an authenticated user holding only the Status
Netgate pfSense CE (prior to 2.8.0 beta release) and corresponding Plus builds are vulnerable to command injection in th
EUVD-2026-62699
GHSA-gfrq-49j2-vmv3
NVD
CVE.org
EPSS
Exploit-DB