Description
Netgate pfSense CE 2.7.1 through 2.9.0 contains a reflected cross-site scripting vulnerability in firewall_rules.php that allows remote attackers to inject script via the unencoded if parameter. When the non-default Require Firewall Interface option is enabled, attackers can lure users with firewall rules privileges into opening a crafted GET link to execute script in the WebGUI with their privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Netgate | pfSense CE | 2.7.1 – ≤ 2.9.0 | — |
Advisories 1
- WID-SEC-2026-3983 Netgate pfSense: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 15, 2026
References
- https://github.com/abraxas/pfsense-rules-if-xss exploit technical-description
- https://abraxaslabs.tech/research/pfsense-ce-leftovers technical-description
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/firewall_rules.php#L138-L146 technical-description
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/firewall_rules.php#L391 technical-description
- VulnCheck Advisory: Netgate pfSense CE 2.7.1 through 2.9.0 Reflected XSS via firewall_rules.php third-party-advisory