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

CVE-2019-25375: OPNsense XSS Vulnerability

CVE-2019-25375 is a reflected XSS flaw in OPNsense 19.1 that lets unauthenticated attackers inject malicious scripts via the mailserver parameter. This article covers technical details, affected versions, and mitigations.

Published: February 20, 2026

CVE-2019-25375 Overview

CVE-2019-25375 is a reflected cross-site scripting (XSS) vulnerability affecting OPNsense 19.1, an open-source firewall and routing platform. The vulnerability allows unauthenticated attackers to inject malicious scripts by submitting crafted input to the mailserver parameter within the Monit interface. By sending specially crafted POST requests containing JavaScript payloads, attackers can execute arbitrary code in the browsers of users who interact with the malicious content.

Critical Impact

Successful exploitation enables attackers to steal session cookies, hijack user sessions, redirect users to malicious sites, or perform actions on behalf of authenticated administrators within the OPNsense management interface.

Affected Products

  • OPNsense 19.1

Discovery Timeline

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

Technical Details for CVE-2019-25375

Vulnerability Analysis

This reflected XSS vulnerability (CWE-79) exists in the Monit interface of OPNsense 19.1. The vulnerability occurs because user-supplied input to the mailserver parameter is not properly sanitized or encoded before being reflected back to the user's browser. This allows attackers to inject arbitrary JavaScript code that executes within the security context of the OPNsense web interface.

The attack requires user interaction—a victim must click a malicious link or submit a crafted form that sends the payload to the vulnerable endpoint. Since the vulnerability is in the firewall's management interface, successful exploitation could have significant security implications, particularly if targeting administrators with elevated privileges.

Root Cause

The root cause is improper input validation and output encoding in the Monit interface's handling of the mailserver parameter. When processing POST requests, the application fails to sanitize special characters such as angle brackets (<, >), quotes, and other HTML/JavaScript metacharacters. This input is then reflected directly into the HTTP response without proper encoding, allowing injected scripts to execute in the victim's browser context.

Attack Vector

The attack is network-based and requires no authentication. An attacker crafts a malicious URL or form that submits a POST request to the Monit interface with a JavaScript payload embedded in the mailserver parameter. When an authenticated user (particularly an administrator) clicks the link or is tricked into submitting the form, the malicious script executes in their browser session.

The vulnerability is exploited by embedding JavaScript code within the mailserver parameter value. For example, an attacker might include a script tag or event handler that executes when the page renders the unsanitized input. Technical details and proof-of-concept information can be found in the Exploit-DB entry #46351 and the VulnCheck Advisory.

Detection Methods for CVE-2019-25375

Indicators of Compromise

  • Unusual POST requests to the Monit interface containing script tags or JavaScript event handlers in the mailserver parameter
  • Web server logs showing URL-encoded JavaScript payloads such as %3Cscript%3E or javascript: in request parameters
  • Unexpected outbound connections from administrator workstations after accessing the OPNsense interface
  • Session anomalies indicating potential cookie theft or session hijacking

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block XSS patterns in POST request parameters
  • Monitor web server access logs for suspicious patterns including encoded script tags and event handlers
  • Deploy browser-based security tools that detect and block reflected XSS attempts
  • Use network intrusion detection systems (IDS) with signatures for common XSS attack patterns

Monitoring Recommendations

  • Enable detailed logging on the OPNsense web interface and review logs for unusual parameter values
  • Monitor for unexpected administrative actions that could indicate compromised sessions
  • Implement Content Security Policy (CSP) headers to mitigate the impact of successful XSS attacks
  • Track access patterns to the Monit interface and alert on anomalous activity

How to Mitigate CVE-2019-25375

Immediate Actions Required

  • Upgrade OPNsense to a version newer than 19.1 that addresses this vulnerability
  • Restrict access to the OPNsense management interface to trusted networks and IP addresses only
  • Implement network-level access controls to limit who can reach the administrative interface
  • Educate administrators about the risks of clicking untrusted links while authenticated to the firewall

Patch Information

OPNsense users should upgrade to a patched version of the software. Consult the OPNsense official website and OPNsense forum for the latest security updates and upgrade instructions. It is strongly recommended to update to the most recent stable release of OPNsense to ensure all security vulnerabilities are addressed.

Workarounds

  • Restrict management interface access to localhost or specific trusted IP addresses using firewall rules
  • Use a VPN to access the management interface instead of exposing it directly
  • Implement a reverse proxy with XSS filtering capabilities in front of the OPNsense web interface
  • Disable the Monit service if it is not required for your deployment
bash
# Example: Restrict access to OPNsense management interface
# Add firewall rule to limit web GUI access to specific management network
# Navigate to Firewall -> Rules -> WAN and create a block rule
# Block all traffic to port 443 except from trusted management IPs

# Alternatively, configure management interface binding
# System -> Settings -> Administration
# Set Listen interfaces to "LAN" only (not WAN)
# Set TCP port to a non-standard port for additional obscurity

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.02%

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