CVE-2024-46538 in Netgate Pfsense and 1 more product
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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-46538 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-269271-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| Published | 2024-10-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
CAPEC-592 Stored XSS via CWE-79
Show all 6
CAPEC-63 Cross-Site Scripting (XSS) via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
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. This vulnerability has a CVSS score of 4.8, indicating a moderate risk level. Given the public proof of concept (PoC) and the potential for web-based attacks, this vulnerability should be addressed promptly to prevent potential security breaches and ensure the integrity of the network management interface.
The vulnerability can be exploited by an attacker with high privileges who can inject a crafted payload into the $pconfig variable at interfaces_groups_edit.php. The attacker must have access to the web interface and the ability to manipulate the $pconfig variable. Once the payload is injected, it can execute arbitrary web scripts or HTML, potentially leading to further attacks or data manipulation.
Compensating controls AI-drafted, review before use
Implement input validation and output encoding for the $pconfig variable to prevent the injection of malicious scripts. Additionally, ensure that only authorized users with the necessary privileges can access the interfaces_groups_edit.php page.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2024-46538?
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. This vulnerability has a CVSS score of 4.8, indicating a moderate risk level. Given the public proof of concept (PoC) and the potential for web-based attacks, this vulnerability should be addressed promptly to prevent potential security breaches and ensure the integrity of the network manage
What is the CVSS score for CVE-2024-46538?
CVE-2024-46538 has CVSS 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N. EPSS: 5.5%.
Is CVE-2024-46538 actively exploited?
No confirmed active exploitation of CVE-2024-46538 as of 2026-09-25.
How do I remediate CVE-2024-46538?
Priority: MEDIUM. Advisory: https://redmine.pfsense.org/issues/15778 PSIRT: [email protected]
What systems are affected by CVE-2024-46538?
CVE-2024-46538 affects Netgate Pfsense; Pfsense Pfsense.
What NERC-CIP standard applies to CVE-2024-46538?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the network management interface, which could compromise the security of the electronic security perimeter.
What IEC 62443 requirement maps to CVE-2024-46538?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a web-based attack that can lead to the execution of arbitrary scripts, which can compromise the integrity and availability of the control system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Netgate","product":"Pfsense","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.