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

CVE-2019-25454: phpMoAdmin XSS Vulnerability

CVE-2019-25454 is a stored XSS vulnerability in phpMoAdmin 1.1.5 that lets unauthenticated attackers inject malicious scripts via the collection parameter. This article covers technical details, affected versions, and mitigations.

Published: February 27, 2026

CVE-2019-25454 Overview

CVE-2019-25454 is a stored cross-site scripting (XSS) vulnerability affecting phpMoAdmin version 1.1.5. This vulnerability allows unauthenticated attackers to inject malicious scripts by manipulating the collection parameter. Attackers can send GET requests to moadmin.php with script payloads in the collection parameter during collection creation to execute arbitrary JavaScript in users' browsers.

Critical Impact

Unauthenticated attackers can inject and persist malicious JavaScript code that executes in the context of other users' browsers, potentially leading to session hijacking, credential theft, or further compromise of the MongoDB administration interface.

Affected Products

  • phpMoAdmin 1.1.5
  • Phpmoadmin Phpmoadmin (all versions prior to patched releases)

Discovery Timeline

  • 2026-02-20 - CVE CVE-2019-25454 published to NVD
  • 2026-02-24 - Last updated in NVD database

Technical Details for CVE-2019-25454

Vulnerability Analysis

This stored XSS vulnerability exists in phpMoAdmin's collection creation functionality. The application fails to properly sanitize user-supplied input in the collection parameter before storing and rendering it in the administrative interface. When an administrator views or interacts with the malicious collection, the injected JavaScript executes within their browser session.

The attack is particularly dangerous because it requires no authentication to inject the malicious payload, while the script execution occurs in authenticated administrator sessions. This asymmetry allows external attackers to target privileged users without needing any credentials themselves.

Root Cause

The root cause of CVE-2019-25454 is improper input validation and output encoding in the moadmin.php script. The collection parameter is accepted without sanitization and stored directly in the database. When this data is subsequently rendered in the web interface, it is not properly escaped, allowing embedded JavaScript to execute.

This represents a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) vulnerability where user-controllable data flows from input to output without adequate security controls.

Attack Vector

The attack is network-based and requires no authentication. An attacker crafts a malicious GET request to moadmin.php containing JavaScript code in the collection parameter. When the targeted collection is created or viewed, the malicious script persists and executes whenever an administrator accesses the affected page.

The vulnerability mechanism involves the following attack flow:

  1. Attacker sends a crafted GET request to moadmin.php with a script payload embedded in the collection parameter
  2. phpMoAdmin processes the request without sanitizing the malicious input
  3. The payload is stored in the MongoDB database alongside legitimate collection metadata
  4. When an administrator views the collections list or accesses the affected collection, the stored JavaScript executes in their browser context
  5. The attacker can leverage this execution to steal session cookies, perform actions as the administrator, or redirect users to malicious sites

For technical exploitation details, refer to Exploit-DB #46082 and the VulnCheck Security Advisory.

Detection Methods for CVE-2019-25454

Indicators of Compromise

  • Unusual or malformed collection names containing HTML tags or JavaScript syntax such as <script>, javascript:, or event handlers like onerror, onload
  • Unexpected GET requests to moadmin.php with encoded script payloads in the collection parameter
  • Browser console errors or unexpected script execution warnings when accessing phpMoAdmin
  • Network traffic showing exfiltration of cookies or session data to external domains

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block XSS payloads in GET parameters targeting moadmin.php
  • Monitor HTTP access logs for requests containing script injection patterns in the collection parameter
  • Deploy endpoint detection solutions capable of identifying browser-based attacks and malicious script execution
  • Audit MongoDB collections for entries containing suspicious HTML or JavaScript content

Monitoring Recommendations

  • Enable verbose logging for phpMoAdmin to capture all collection creation and modification events
  • Configure security information and event management (SIEM) alerts for XSS attack patterns targeting the application
  • Implement content security policy (CSP) headers to detect and report inline script execution attempts
  • Regularly review MongoDB collection names and metadata for signs of injection attacks

How to Mitigate CVE-2019-25454

Immediate Actions Required

  • Restrict network access to phpMoAdmin to trusted IP addresses or internal networks only
  • Implement authentication requirements before allowing any phpMoAdmin operations
  • Deploy a web application firewall with XSS filtering capabilities in front of the application
  • Audit existing MongoDB collections for malicious payloads and remove any suspicious entries
  • Consider disabling phpMoAdmin until a patched version is available or security controls are in place

Patch Information

No official patch information is currently available from the vendor. Organizations should monitor the PHPMoAdmin Official Site for security updates. In the absence of an official fix, implementing the workarounds below is strongly recommended.

Workarounds

  • Apply input sanitization by modifying moadmin.php to escape HTML entities in the collection parameter before storage and display
  • Implement Content Security Policy (CSP) headers to prevent inline script execution: Content-Security-Policy: script-src 'self'
  • Use a reverse proxy to filter incoming requests and strip potentially malicious content from the collection parameter
  • Restrict phpMoAdmin access using .htaccess rules or server configuration to require authentication
  • Consider migrating to alternative MongoDB administration tools that have active security maintenance
bash
# Example Apache configuration to restrict phpMoAdmin access
<Files "moadmin.php">
    AuthType Basic
    AuthName "Restricted Access"
    AuthUserFile /etc/apache2/.htpasswd
    Require valid-user
    Order deny,allow
    Deny from all
    Allow from 192.168.1.0/24
</Files>

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechPhpmoadmin

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • PHPMoAdmin Official Site

  • Exploit-DB #46082

  • VulnCheck Security Advisory
  • Related CVEs
  • CVE-2019-25453: phpMoAdmin XSS Vulnerability

  • CVE-2019-25451: phpMoAdmin CSRF 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