The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2019-25370

CVE-2019-25370: OPNsense 19.1 XSS Vulnerability

CVE-2019-25370 is a reflected cross-site scripting flaw in OPNsense 19.1 that enables attackers to inject malicious scripts via multiple parameters. This article covers technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2019-25370 Overview

CVE-2019-25370 is a reflected cross-site scripting (XSS) vulnerability affecting OPNsense 19.1, an open-source firewall and routing platform. The flaw resides in the interfaces_vlan_edit.php endpoint, which fails to properly sanitize the tag, descr, and vlanif POST parameters before reflecting them into the response. Attackers can craft malicious requests containing JavaScript payloads to execute arbitrary script code in the browser of an authenticated administrator. Successful exploitation can lead to session theft, configuration tampering, or pivoting into the firewall management interface. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).

Critical Impact

Reflected XSS in the OPNsense VLAN configuration page enables attackers to execute arbitrary JavaScript in an administrator's session, potentially exposing firewall management functionality.

Affected Products

  • OPNsense 19.1
  • interfaces_vlan_edit.php web management component
  • Deployments exposing the OPNsense web GUI to untrusted networks

Discovery Timeline

  • 2026-02-15 - CVE-2019-25370 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2019-25370

Vulnerability Analysis

The vulnerability exists in the OPNsense web administration interface, specifically in the VLAN edit page. When a user submits a POST request to interfaces_vlan_edit.php, the application reflects the values of the tag, descr, and vlanif parameters into the rendered HTML response without adequate output encoding. An attacker who can convince an authenticated administrator to submit a crafted request, for example through a malicious link or auto-submitting form, can inject JavaScript that executes within the firewall's management origin.

Because the OPNsense GUI typically runs with elevated administrative privileges, script execution in this context provides access to firewall configuration, firewall rules, VPN settings, and credentials managed through the interface. The reflected nature of the issue requires user interaction, which is reflected in the CVSS UI:A metric.

Root Cause

The root cause is missing or insufficient output encoding of user-controlled POST parameters before they are written into HTML responses. The handler in interfaces_vlan_edit.php echoes input back to the browser without applying contextual escaping appropriate for HTML attribute or element contexts, allowing <script> payloads and event-handler attributes to render as executable code.

Attack Vector

Exploitation requires an authenticated administrator to visit an attacker-controlled page or click a crafted link that issues a POST request to the vulnerable endpoint. The attacker hosts a page containing an auto-submitting HTML form targeting interfaces_vlan_edit.php on the victim's OPNsense instance, with payloads placed in the tag, descr, or vlanif fields. Refer to the VulnCheck OPNsense Advisory and Exploit-DB #46351 for technical specifics.

// No verified exploit code is reproduced here. See the linked
// Exploit-DB and VulnCheck advisories for technical proof-of-concept details.

Detection Methods for CVE-2019-25370

Indicators of Compromise

  • POST requests to interfaces_vlan_edit.php containing <script>, onerror=, onload=, or javascript: substrings in the tag, descr, or vlanif parameters.
  • Web server access logs showing referrers from external or unexpected domains immediately preceding POST submissions to the VLAN edit endpoint.
  • Unexpected administrative configuration changes following an administrator browsing session.

Detection Strategies

  • Inspect HTTP request bodies sent to the OPNsense GUI for HTML tags and JavaScript event handlers in VLAN parameters.
  • Deploy a Web Application Firewall (WAF) rule that blocks reflected XSS payload patterns targeting interfaces_vlan_edit.php.
  • Correlate administrator authentication events with subsequent configuration mutation events to detect unauthorized changes triggered via XSS.

Monitoring Recommendations

  • Enable verbose access logging on the OPNsense GUI and forward logs to a centralized SIEM for parameter-level inspection.
  • Alert on any GUI requests originating from non-management network segments.
  • Monitor for browser console errors or Content Security Policy (CSP) violation reports indicating injected script execution.

How to Mitigate CVE-2019-25370

Immediate Actions Required

  • Upgrade OPNsense to a version later than 19.1 that includes input sanitization fixes for the VLAN edit handler.
  • Restrict access to the OPNsense web management interface to trusted management networks only.
  • Require administrators to use dedicated, hardened browsers for firewall administration and to log out of unrelated web sessions.

Patch Information

No specific patch identifier is listed in the NVD entry. Administrators should consult the OPNsense Forum Topic and the OPNsense Official Website for the latest stable release that supersedes 19.1 and addresses this issue.

Workarounds

  • Place the OPNsense GUI behind a reverse proxy or VPN that enforces strict source IP filtering.
  • Enforce a strict Content Security Policy on the management interface to limit inline script execution.
  • Disable concurrent browsing of untrusted sites while administering the firewall, mitigating the user-interaction requirement of the attack.
bash
# Example: restrict OPNsense GUI access to a management subnet via firewall rule
# Allow only 10.0.0.0/24 (management LAN) to reach the GUI on TCP/443
block in quick on wan proto tcp to (self) port 443
pass in quick on mgmt proto tcp from 10.0.0.0/24 to (self) port 443

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOpnsense

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • OPNsense Forum Topic

  • OPNsense Official Website

  • Exploit-DB #46351

  • VulnCheck OPNsense Advisory
  • Related CVEs
  • CVE-2019-25368: OPNsense 19.1 XSS Vulnerability

  • CVE-2019-25369: OPNsense Stored XSS Vulnerability

  • CVE-2019-25371: OPNsense 19.1 XSS Vulnerability

  • CVE-2019-25372: OPNsense XSS Vulnerability Disclosed
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English