pfSense Plus < 26.07 / CE < 2.9.0 Stored XSS via status_monitoring.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 Status: Monitoring privilege to inject arbitrary JavaScript via graph configuration parameters in /status_monitoring.php. Multiple POST parameters including graph-left, graph-right, time-period, resolution, start-date, end-date, start-time, end-time, graph-type, invert, and refresh-interval are concatenated and written to the global pfSense XML configuration without sanitization, then echoed unsanitized into a JavaScript string context on page render. Because the setting is stored in the global configuration, the payload executes in the browser of every user who visits the Status: Monitoring page.