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
    • 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 crafted POST requests. This article covers technical details, affected versions, and mitigation.

Published: February 20, 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 vulnerability exists in the interfaces_vlan_edit.php page, where multiple parameters fail to properly sanitize user-supplied input before rendering it in the browser. Attackers can exploit this flaw by crafting malicious POST requests containing JavaScript payloads in the tag, descr, or vlanif parameters, enabling arbitrary script execution in the context of authenticated users' sessions.

Critical Impact

Successful exploitation allows attackers to execute arbitrary JavaScript in authenticated user sessions, potentially leading to session hijacking, credential theft, or unauthorized configuration changes on the firewall.

Affected Products

  • OPNsense 19.1
  • OPNsense firewall appliances running version 19.1
  • Web management interface (interfaces_vlan_edit.php)

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

This reflected XSS vulnerability stems from insufficient input validation and output encoding in the OPNsense web management interface. The interfaces_vlan_edit.php script accepts user input through POST parameters without proper sanitization, allowing malicious JavaScript code to be reflected back to the user's browser and executed within the security context of the OPNsense administrative interface.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), which represents one of the most common web application security flaws. In the context of a firewall management interface, successful XSS attacks can have particularly severe consequences, as attackers may be able to modify firewall rules, extract sensitive configuration data, or pivot to other network attacks.

Root Cause

The root cause is the failure to implement proper input sanitization and output encoding for user-supplied data in the VLAN interface configuration page. When processing POST requests to interfaces_vlan_edit.php, the application directly reflects the values of the tag, descr, and vlanif parameters into the HTML response without escaping special characters that have significance in HTML and JavaScript contexts.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker must craft a malicious URL or form that submits a POST request to the vulnerable endpoint. The attack typically involves social engineering to trick an authenticated administrator into clicking a malicious link or visiting a page that automatically submits the crafted request. Upon successful exploitation, the injected script executes with the privileges of the authenticated user, potentially allowing the attacker to perform actions such as:

  • Stealing session cookies or authentication tokens
  • Modifying firewall configurations
  • Creating new administrative accounts
  • Capturing keystrokes or sensitive data entered by the user

The vulnerability can be exploited by submitting crafted input through the tag, descr, or vlanif parameters in POST requests to interfaces_vlan_edit.php. Malicious payloads containing JavaScript code are reflected back in the response and executed in the victim's browser context. For detailed technical analysis and proof-of-concept examples, refer to the Exploit-DB entry #46351.

Detection Methods for CVE-2019-25370

Indicators of Compromise

  • Unusual POST requests to interfaces_vlan_edit.php containing script tags or JavaScript event handlers
  • Web server logs showing encoded or obfuscated payloads in the tag, descr, or vlanif parameters
  • Unexpected session activity or administrative changes following suspicious link clicks
  • Browser console errors indicating blocked inline script execution (if CSP is partially implemented)

Detection Strategies

  • Implement web application firewall (WAF) rules to detect XSS payload patterns in POST parameters
  • Monitor web server access logs for requests containing common XSS indicators such as <script>, javascript:, or event handlers like onerror=
  • Deploy endpoint detection solutions that can identify anomalous browser behavior resulting from XSS exploitation
  • Use SentinelOne Singularity to detect post-exploitation activities that may follow successful XSS attacks

Monitoring Recommendations

  • Enable verbose logging for the OPNsense web interface and review logs for suspicious activity
  • Configure alerting for failed or unusual authentication attempts following potential XSS exploitation
  • Monitor for unexpected configuration changes to VLAN settings or firewall rules
  • Implement browser-based XSS auditing tools for security testing of administrative interfaces

How to Mitigate CVE-2019-25370

Immediate Actions Required

  • Upgrade OPNsense to a version newer than 19.1 that addresses this vulnerability
  • Restrict access to the OPNsense web management interface to trusted networks or IP addresses only
  • Implement network segmentation to limit exposure of management interfaces
  • Educate administrators about phishing and social engineering attacks that may attempt to exploit this vulnerability

Patch Information

Organizations should upgrade to a patched version of OPNsense. The official OPNsense release notes and security advisories should be consulted for specific patch information. For additional context on this vulnerability, see the OPNsense Forum Discussion and the VulnCheck OPNsense Advisory.

Workarounds

  • Restrict web interface access to trusted IP addresses using firewall rules
  • Disable remote management access and require local console access for configuration changes
  • Implement Content Security Policy (CSP) headers at the web server level to mitigate script execution
  • Use a reverse proxy with XSS filtering capabilities in front of the management interface
  • Require administrators to use dedicated, hardened browsers for accessing the OPNsense management interface
bash
# Example: Restrict management interface access to specific IP addresses
# Add to firewall rules (adjust interface and IP as needed)
pass in on egress inet proto tcp from 192.168.1.0/24 to (self) port 443
block in on egress inet proto tcp 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.03%

  • 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 Discussion

  • 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
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