-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= pfSense-SA-26_28.webgui Security Advisory pfSense Topic: Reflected XSS via firewall_rules.php Category: pfSense Base System Module: webgui Announced: 2026-11-17 Credits: Abraxas Labs CVE ID: CVE-2026-111233 Affects: pfSense Plus software versions <= 26.07 pfSense CE software versions <= 2.9.0 Corrected: 2026-10-22 18:50:28 UTC 0. Revision History v1.0 2026-11-17 Initial SA draft I. Background pfSense® software is a free network firewall distribution based on the FreeBSD operating system. The pfSense software distribution includes third- party free software packages for additional functionality, and provides most of the functionality of common commercial firewalls. pfSense® Plus is the productized version of pfSense software from Netgate®, previously referred to as pfSense Factory Edition (FE). It is available to Netgate appliance and CSP customers. The majority of users of pfSense software have never installed or used a stock FreeBSD system. Unlike similar GNU/Linux-based firewall distributions, there is no need for any UNIX knowledge. The command line is never used, and there is no need to ever manually edit any rule sets. Instead, pfSense software includes a web interface for the configuration of all included components. Users familiar with commercial firewalls will quickly understand the web interface, while those unfamiliar with commercial-grade firewalls may encounter a short learning curve. II. Problem Description A potential reflected Cross-Site Scripting (XSS) vector was identified in firewall_rules.php via the "if" parameter when the "Require Firewall Interface" setting ("requirefirewallinterface") is enabled on system.php. When "requirefirewallinterface" is unset (default), firewall_rules.php replaces a missing or invalid "if" value with a default of the first configured interface. When that option is set, however, the page does not change the value of "if", which leaves an attacker-supplied value in place. That value is then used later in the page, including in JavaScript, without proper encoding. III. Impact Due to this behavior, when visiting a specially-crafted URL, arbitrary JavaScript could be executed in the user's browser. The user's session cookie or other information from the session may be compromised. IV. Workaround To help mitigate the problem on older releases, use one or more of the following: * Disable the "Require Firewall Interface" setting on system.php. * Limit access to the affected pages to trusted administrators only. * Do not log into the firewall with the same browser used for non- administrative web browsing. V. Solution Users can upgrade to the next available version of pfSense software when available. This upgrade may be performed in the web interface or from the console. See https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html Users on currently supported versions of pfSense Plus software may apply the fix from the recommended patches list in the System Patches package after installing or updating the System Patches package. Users may also manually apply the relevant changes using the System Patches package on earlier versions, or by manually making similar changes to the affected files if the patches do not apply directly. See https://docs.netgate.com/pfsense/en/latest/development/system-patches.html VI. Correction details The following list contains the correction revision commit ID for each affected item. Revision - - ------------------------------------------------------------------------- dbc0dcb749807c84dee86ec71f2a5843cb31f405 - - ------------------------------------------------------------------------- VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE40XvjEU56XSUPIMdE7mH/ZIU+NoFAmr2KwcACgkQE7mH/ZIU +NqQFxAAo1Y+c7vQtf6WY4ZGthHerWqUkwOuuwf/xGc5cjlPO9D8vm7zEKlQdkFw NcFnGWx4bIR/eiHPrODC/jPn5ElNBk+NOwwk1ntUJQ6zLERbvC1AWJyhr89ZjDlg qQzyQNT8xVveZHCQw3//KTxpIgFRB92aHrLY3ILFiW9J2WLVn7dgkohmIm+uoukM 0+VlI78ehhmXdNMUHKakEuBf7OewOmUp5/oTybpvBNygU5fZOktG64lpzgr3us3T kHJIyam3xHqY0I+poI8K9MqYG3VCnK7hHoDjCtTzvdgqVjxXEfD8HwWRou+jC0Ol f+XAl4LG4HE3EYzQckzPhfILpKzbeXTgkDJxeZ+QtEPwcELda5uizmx2h2qp231m 5XsRmLkZfpmFSKEmHPsdtqwpjqi1THRNbXoTMeDXFfekKdkwpnP1g6aJO1RzWLme ZrdEKLyWMh/ctWsnQGgdrCrUpdfCSGweDhCmQMTQMLo37mreB6l8dGhufWL6bvRU +o0kaHgchQFHwwxlOCvN2HrwiZzzetbQ38nPEvrHYawEm3FlIot854Sat6jgkFgI ykmZGET45S6O/NCXU43KfWMYmJCk3IaLaeQjOR5KXcKKMFWsGrQi6wZuFq/ftOzF EnqXSkHXOV7tunuX+2Trtw20lK1xryHFBbXaSYZJxJ1cBCkDmBI= =TqAb -----END PGP SIGNATURE-----