Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-34182: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Deciso OPNsense

0
Medium
VulnerabilityCVE-2025-34182cvecve-2025-34182cwe-79
Published: Wed Oct 01 2025 (10/01/2025, 17:01:08 UTC)
Source: CVE Database V5
Vendor/Project: Deciso
Product: OPNsense

Description

CVE-2025-34182 is a stored cross-site scripting (XSS) vulnerability in Deciso OPNsense prior to version 25. 7. 4. It occurs when an authenticated user with at least 'Interfaces: PPPs: Edit' permission creates a Point-to-Point interface entry with a crafted ptpid parameter that is not properly sanitized. The unsanitized input is then rendered on the interfaces_assign. php page, enabling stored XSS attacks. Exploitation requires authentication and some user interaction, limiting the attack surface. The vulnerability has a CVSS score of 5. 1 (medium severity) and was fixed by improving HTML escaping of form data keys. While no known exploits are reported in the wild, the flaw could allow attackers to execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking or privilege escalation within the OPNsense management interface.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/24/2026, 00:27:51 UTC

Technical Analysis

CVE-2025-34182 is a stored cross-site scripting (XSS) vulnerability identified in Deciso OPNsense firewall software versions prior to 25.7.4. The issue arises from improper neutralization of HTML-related characters in the ptpid parameter when creating a Point-to-Point interface entry under the 'Interfaces: Devices: Point-to-Point' configuration. Specifically, the parameter ptpid is not sanitized before being rendered on the page interfaces_assign.php, allowing malicious HTML or JavaScript code to be stored and executed in the context of the web management interface. Exploitation requires the attacker to be authenticated with at least 'Interfaces: PPPs: Edit' permissions, which restricts the attack to users with some level of administrative access. The vulnerability is classified under CWE-79, indicating improper input sanitization during web page generation. The vendor addressed the issue by correcting the legacy_html_escape_form_data() function to properly escape keys, preventing injection of executable code. The CVSS 4.0 vector (AV:N/AC:L/PR:L/UI:P/VC:L) reflects network attack vector, low attack complexity, requiring privileges and user interaction, with low impact on confidentiality and no impact on integrity or availability. No known exploits have been reported in the wild as of the publication date. This vulnerability could be leveraged by malicious insiders or compromised accounts to execute arbitrary scripts, potentially leading to session hijacking, unauthorized actions, or further compromise of the firewall management interface.

Potential Impact

The primary impact of CVE-2025-34182 is the potential for stored cross-site scripting attacks within the OPNsense web management interface. Successful exploitation allows an attacker with authenticated access and specific permissions to inject malicious scripts that execute in the context of other users' browsers who visit the affected page. This can lead to session hijacking, theft of authentication tokens, unauthorized configuration changes, or pivoting to other internal systems. Although the vulnerability requires some privilege level and user interaction, it poses a risk in environments where multiple administrators or users have editing rights. In large organizations or managed service providers using OPNsense, this could facilitate lateral movement or compromise of firewall controls, undermining network security. The vulnerability does not directly affect confidentiality, integrity, or availability of the firewall itself but can indirectly lead to unauthorized access or control. Since OPNsense is widely used globally in enterprise, government, and service provider networks, the impact can be significant if not mitigated promptly.

Mitigation Recommendations

To mitigate CVE-2025-34182, organizations should immediately upgrade OPNsense to version 25.7.4 or later, where the vulnerability has been fixed by proper escaping of form data keys. Until patching is possible, restrict access to the web management interface to trusted administrators only and enforce the principle of least privilege by limiting 'Interfaces: PPPs: Edit' permissions to essential personnel. Implement network-level access controls such as VPNs or IP whitelisting to reduce exposure of the management interface. Enable multi-factor authentication (MFA) for all users with administrative privileges to reduce the risk of credential compromise. Regularly audit user permissions and session activity to detect suspicious behavior. Additionally, monitor logs for unusual input patterns or attempts to inject HTML/JavaScript code in interface configuration parameters. Educate administrators about the risks of XSS and safe input handling practices. Finally, consider deploying web application firewalls (WAFs) or intrusion detection systems (IDS) that can detect and block XSS payloads targeting the management interface.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulnCheck
Date Reserved
2025-04-15T19:15:22.568Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68dd5ef5ebdfe95d2e1694d8

Added to database: 10/1/2025, 5:03:49 PM

Last enriched: 3/24/2026, 12:27:51 AM

Last updated: 3/24/2026, 8:39:20 PM

Views: 622

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses