CVE-2025-34177: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Netgate pfSense CE
In pfSense CE /suricata/suricata_flow_stream.php, the value of the policy_name parameter is not sanitized of HTML-related strings/characters before being directly displayed. This can result in stored cross-site scripting. The attacker must be authenticated with at least "WebCfg - Services: suricata package" permissions.
AI Analysis
Technical Summary
CVE-2025-34177 is a stored cross-site scripting vulnerability in the pfSense CE product by Netgate, specifically in the /suricata/suricata_flow_stream.php file. The issue arises because the policy_name parameter is not sanitized for HTML or script content before being rendered in the web interface. Exploitation requires the attacker to be authenticated with at least 'WebCfg - Services: suricata package' permissions, enabling them to inject malicious scripts that could execute in the context of the victim's browser. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Potential Impact
An attacker with the required authenticated permissions can inject and store malicious scripts via the policy_name parameter, which are then executed in the context of users viewing the affected page. This can lead to session hijacking, unauthorized actions, or other client-side impacts. However, the attack requires authenticated access with specific permissions, limiting the scope of exploitation.
Mitigation Recommendations
No official patch or fix information is currently available for this vulnerability. Users should monitor Netgate's advisories for updates. Until a fix is released, restrict access to the Suricata service configuration to trusted administrators only and consider limiting permissions to reduce the risk of exploitation.
CVE-2025-34177: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Netgate pfSense CE
Description
In pfSense CE /suricata/suricata_flow_stream.php, the value of the policy_name parameter is not sanitized of HTML-related strings/characters before being directly displayed. This can result in stored cross-site scripting. The attacker must be authenticated with at least "WebCfg - Services: suricata package" permissions.
CVSS v4.0
Score 5.1medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-34177 is a stored cross-site scripting vulnerability in the pfSense CE product by Netgate, specifically in the /suricata/suricata_flow_stream.php file. The issue arises because the policy_name parameter is not sanitized for HTML or script content before being rendered in the web interface. Exploitation requires the attacker to be authenticated with at least 'WebCfg - Services: suricata package' permissions, enabling them to inject malicious scripts that could execute in the context of the victim's browser. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Potential Impact
An attacker with the required authenticated permissions can inject and store malicious scripts via the policy_name parameter, which are then executed in the context of users viewing the affected page. This can lead to session hijacking, unauthorized actions, or other client-side impacts. However, the attack requires authenticated access with specific permissions, limiting the scope of exploitation.
Mitigation Recommendations
No official patch or fix information is currently available for this vulnerability. Users should monitor Netgate's advisories for updates. Until a fix is released, restrict access to the Suricata service configuration to trusted administrators only and consider limiting permissions to reduce the risk of exploitation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2025-04-15T19:15:22.567Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 68c08cadbf8644e23a9d221b
Added to database: 09/09/2025, 20:23:09 UTC
Last enriched: 07/15/2026, 09:52:26 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 137
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.