pfSense Plus < 26.07 / CE < 2.9.0 Stored XSS via firewall_rules_edit.php
Netgate pfSense Plus · Netgate pfSense CE
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Netgate pfSense Plus |
| No fix yet |
| Netgate pfSense CE |
| No fix yet |
Original description
pfSense Plus before 26.07 and CE before 2.9.0 allow authenticated users with the Firewall: Rules: Edit privilege to inject arbitrary JavaScript via the descr parameter in /firewall_rules_edit.php. The firewall rule description is stored in the pfSense XML configuration with only backslash-escaping applied and no HTML sanitization, then rendered without encoding in the firewall log table in /status_logs_filter.php. The payload executes in the browser of any user with the Status: Logs: Firewall privilege who views the affected log entries.