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

CVE-2019-25372: OPNsense XSS Vulnerability Disclosed

CVE-2019-25372 is a reflected cross-site scripting vulnerability in OPNsense 19.1 that lets unauthenticated attackers inject malicious scripts. This article covers the technical details, affected versions, and mitigation.

Published: February 20, 2026

CVE-2019-25372 Overview

CVE-2019-25372 is a reflected cross-site scripting (XSS) vulnerability affecting OPNsense 19.1, a widely-deployed open-source firewall and routing platform. The vulnerability exists in the diagnostic traceroute functionality (diag_traceroute.php) where insufficient input validation of the host parameter allows unauthenticated attackers to inject malicious JavaScript code that executes within the context of an authenticated user's browser session.

This vulnerability enables attackers to craft malicious URLs containing JavaScript payloads that, when visited by an authenticated OPNsense administrator, can steal session cookies, perform administrative actions on behalf of the victim, or redirect users to attacker-controlled sites.

Critical Impact

Successful exploitation could allow attackers to hijack administrator sessions, modify firewall configurations, or exfiltrate sensitive network security settings from OPNsense installations.

Affected Products

  • OPNsense 19.1

Discovery Timeline

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

Technical Details for CVE-2019-25372

Vulnerability Analysis

The vulnerability stems from a classic reflected XSS flaw in the diagnostic traceroute web interface of OPNsense 19.1. When users submit a traceroute request through the web GUI, the host parameter value is reflected back to the user without proper sanitization or encoding. This allows attackers to embed arbitrary JavaScript code within the parameter, which then executes in the victim's browser when the malicious page renders.

The attack surface is particularly concerning because the affected endpoint (diag_traceroute.php) is accessible to authenticated administrators who typically have elevated privileges within the firewall management interface. While the attack requires user interaction (clicking a malicious link), social engineering techniques can easily trick administrators into accessing crafted URLs.

Root Cause

The root cause of CVE-2019-25372 is improper input validation and output encoding in the diag_traceroute.php script. The application fails to sanitize user-supplied input in the host parameter before reflecting it back in the HTTP response. Specifically, special characters such as angle brackets (<, >), quotes, and other HTML/JavaScript metacharacters are not properly escaped, allowing attackers to break out of the expected context and inject executable script content.

Attack Vector

The attack is executed via network-based delivery, typically through a crafted URL sent to a victim administrator via phishing email, malicious website, or other social engineering techniques. The attacker constructs a POST request to diag_traceroute.php containing a malicious JavaScript payload in the host parameter.

When the victim clicks the link or submits the form, the malicious script executes within their authenticated browser session. The attacker can then leverage this execution context to steal session tokens, perform CSRF attacks against administrative functions, or redirect the user to attacker-controlled infrastructure.

The vulnerability mechanism involves crafted POST requests to the diag_traceroute.php endpoint where the host parameter contains JavaScript payloads. When the server processes these requests, it reflects the unsanitized input back to the browser, allowing script execution. For detailed exploitation examples, see the Exploit-DB #46351 entry.

Detection Methods for CVE-2019-25372

Indicators of Compromise

  • HTTP requests to /diag_traceroute.php containing suspicious characters such as <script>, javascript:, onerror=, or similar XSS payload patterns in the host parameter
  • Unusual administrative session activity following users accessing external links
  • Browser console errors or unexpected script execution in administrator sessions
  • Access logs showing POST requests to diagnostic pages with encoded or obfuscated payloads

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block common XSS payload patterns in requests to OPNsense administrative endpoints
  • Implement Content Security Policy (CSP) headers to restrict inline script execution
  • Monitor HTTP access logs for requests containing suspicious characters or encoded JavaScript in form parameters
  • Use browser-based security extensions that detect and alert on reflected XSS attempts

Monitoring Recommendations

  • Enable detailed logging for all administrative interface access attempts
  • Configure SIEM alerts for requests containing XSS-related patterns targeting /diag_traceroute.php
  • Audit administrator session activity for unusual behavior patterns following external link access
  • Regularly review web server access logs for anomalous request patterns to diagnostic endpoints

How to Mitigate CVE-2019-25372

Immediate Actions Required

  • Upgrade OPNsense to a version newer than 19.1 that includes the security fix for this vulnerability
  • Restrict administrative interface access to trusted networks only via firewall rules
  • Implement network segmentation to limit exposure of the OPNsense management interface
  • Educate administrators about the risks of clicking untrusted links while logged into administrative interfaces

Patch Information

The recommended mitigation is to upgrade OPNsense to a patched version beyond 19.1. Administrators should consult the OPNsense Official Website for the latest stable release and follow their upgrade procedures. Additional details about this vulnerability can be found in the VulnCheck OPNsense Advisory and the OPNsense Forum Discussion.

Workarounds

  • Restrict access to the OPNsense administrative interface to trusted IP addresses only using firewall rules
  • Use a separate browser profile or incognito mode when accessing external links, avoiding authenticated OPNsense sessions
  • Implement reverse proxy with XSS filtering capabilities in front of the OPNsense web interface
  • Consider disabling the diagnostic traceroute feature if not required for operations
bash
# Example: Restrict admin interface access to trusted network
# Add to OPNsense firewall rules (via GUI or config)
# Block external access to management interface on port 443
# Only allow connections from management VLAN (e.g., 10.0.100.0/24)
# Firewall -> Rules -> WAN -> Add rule to block TCP 443 from !10.0.100.0/24

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-25370: OPNsense 19.1 XSS Vulnerability

  • CVE-2019-25371: OPNsense 19.1 XSS Vulnerability
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