← Vulnerability feed

Vulnerability record · CVE-2024-46538 · published 22 October 2024

CVE-2024-46538: pfSense interfaces_groups_edit.php XSS via $pconfig variable

Netgate · Pfsense

A cross-site scripting flaw exists in pfSense v2.5.2 where a crafted payload injected into the $pconfig variable at interfaces_groups_edit.php allows execution of arbitrary web scripts or HTML. It matters because an authenticated administrator viewing the affected page could have script run in their browser session.

4.8 CVSS 3.1 Medium EPSS 82% · top 0.4% CWE-79 · Cross-site scripting
4.8CVSS 3.1 base score
82%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

A cross-site scripting (XSS) vulnerability in pfsense v2.5.2 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the $pconfig variable at interfaces_groups_edit.php.

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

medium priorityRequires high privileges and user interaction, limiting practical exploitation, though a public exploit and high EPSS score warrant attention.

What it is

A cross-site scripting flaw exists in pfSense v2.5.2 where a crafted payload injected into the $pconfig variable at interfaces_groups_edit.php allows execution of arbitrary web scripts or HTML. It matters because an authenticated administrator viewing the affected page could have script run in their browser session.

Impact

An attacker can execute arbitrary web scripts or HTML in the context of a victim's browser session. Given the privileged nature of the pfSense admin interface, this could enable session theft or administrative actions performed as the victim.

Attack surface

The vulnerability is network-reachable (AV:N) but requires high privileges (PR:H) and user interaction (UI:R), meaning an attacker must already have administrative access and convince a victim to interact with a crafted page or link.

Exploitation

A public exploit reference exists on GitHub, and EPSS indicates a high probability of exploitation activity (0.81583, 99.6th percentile), but the CVE is not listed in CISA KEV.

What to do

  • Upgrade pfSense to a version later than 2.5.2 that contains the vendor fix referenced in the Redmine advisory.
  • Restrict administrative access to the pfSense web interface to trusted networks and users.
  • Apply input validation or output encoding to the $pconfig variable handling in interfaces_groups_edit.php if custom code is maintained.
  • Educate administrators not to follow untrusted links or open crafted pages while logged into pfSense.

Detection

  • Monitor web server logs for requests to interfaces_groups_edit.php containing suspicious script or HTML payloads in parameters.
  • Review administrator browser sessions for unexpected script execution or anomalous DOM activity on pfSense admin pages.
  • Audit changes to interface group configurations for signs of injected content.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-46538 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-16915Netgate pfsense path traversal vulnerabilityAn issue was discovered in pfSense through 2.4.4-p3. widgets/widgets/picture.widget.php uses the widgetkey parameter directly without sanitization (e…EPSS 3.7%9.8CVE-2019-12585Apcupsd os command injection vulnerabilityApcupsd 0.3.91_5, as used in pfSense through 2.4.4-RELEASE-p3 and other products, has an Arbitrary Command Execution issue in apcupsd_status.php.EPSS 5.0%9.6CVE-2020-21487Netgate pfsense cross-site scripting vulnerabilityCross Site Scripting vulnerability found in Netgate pfSense 2.4.4 and ACME package v.0.6.3 allows attackers to execute arbitrary code via the RootFol…EPSS 0.67%8.8CVE-2023-48123pfSense web GUI packet_capture.php remote code executionpfSense Plus 23.05.1 and earlier and pfSense CE 2.7.0 allow a remote attacker to execute arbitrary code through a crafted request to packet_capture.p…EPSS 68%analysed8.8CVE-2023-42326pfSense WebGUI GIF/GRE Interface Command InjectionNetgate pfSense 2.7.0 contains a command injection flaw in the interfaces_gif_edit.php and interfaces_gre_edit.php WebGUI components. A remote attack…EPSS 64%analysed8.8CVE-2023-27253pfSense restore_rrddata() command injection via crafted XML configNetgate pfSense 2.7.0 contains a command injection flaw in the restore_rrddata() function. An authenticated attacker can supply a crafted XML file to…EPSS 90%analysed8.8CVE-2022-24299Netgate pfsense improper input validation vulnerabilityImproper input validation vulnerability in pfSense CE and pfSense Plus (pfSense CE software versions prior to 2.6.0 and pfSense Plus software version…EPSS 1.9%8.8CVE-2022-26019Netgate pfsense path traversal vulnerabilityImproper access control vulnerability in pfSense CE and pfSense Plus (pfSense CE software versions prior to 2.6.0 and pfSense Plus software versions …EPSS 4.5%

Source: NIST National Vulnerability Database (record CVE-2024-46538), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.