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-2018-25330

CVE-2018-25330: Joomla! EkRishta XSS Vulnerability

CVE-2018-25330 is a persistent XSS flaw in Joomla! EkRishta 2.10 extension that enables attackers to inject malicious scripts via profile fields. This post covers the technical details, affected versions, and mitigation strategies.

Published: May 21, 2026

CVE-2018-25330 Overview

CVE-2018-25330 affects the Joomla! extension EkRishta version 2.10, a dating and relationships component distributed through the Joomla Extensions Directory. The extension contains two distinct flaws: persistent cross-site scripting (XSS) through profile fields and SQL injection [CWE-89] through the phone_no POST parameter handled by the user_setting endpoint. Attackers can inject script payloads into fields such as Address, causing arbitrary JavaScript to execute when other users view the profile. They can also manipulate database queries by submitting crafted input to the user settings endpoint, exposing stored data.

Critical Impact

Unauthenticated attackers can extract database contents via SQL injection and hijack authenticated sessions through stored XSS payloads triggered on profile views.

Affected Products

  • Joomla! extension EkRishta 2.10
  • Distributed via the Joomla Extension EK Rishta directory listing
  • Source vendor page: Joomla Extensions Resource

Discovery Timeline

  • 2026-05-17 - CVE-2018-25330 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2018-25330

Vulnerability Analysis

The EkRishta 2.10 extension exposes two separate input-handling weaknesses. The first is a stored XSS flaw in profile editing routines. User-supplied content in profile fields such as Address is written to the database and rendered back to viewers without sufficient HTML encoding or sanitization. Any visitor loading the malicious profile executes attacker-controlled JavaScript in the context of the Joomla site.

The second is a SQL injection flaw in the user_setting request handler. The phone_no POST parameter is concatenated into a SQL statement without parameterization or strict input validation. An attacker can append UNION-based or boolean clauses to alter the executed query, enumerate tables, and exfiltrate data including credentials and session material.

Combined, these flaws enable account takeover. Stored XSS can steal session cookies or trigger administrative actions, while SQL injection allows direct database access. The extension is reachable over the network and requires no authentication for exploitation in the documented attack paths described in the VulnCheck Advisory on Joomla EK Rishta.

Root Cause

The root cause is missing output encoding for profile data and missing parameterization in the SQL layer that processes user_setting updates. The extension trusts client-supplied strings and inserts them into HTML output and SQL statements without contextual escaping.

Attack Vector

Exploitation occurs over HTTP. For XSS, an attacker registers or edits a profile and stores a payload in the Address field. The payload fires when any user, including administrators, views the profile. For SQL injection, the attacker submits a crafted phone_no value to the user_setting endpoint. Public exploitation details are available in Exploit-DB #44660.

No verified proof-of-concept code is reproduced here. See the linked Exploit-DB entry for the original technical demonstration.

Detection Methods for CVE-2018-25330

Indicators of Compromise

  • POST requests to the user_setting endpoint containing SQL metacharacters such as ', UNION SELECT, --, or OR 1=1 in the phone_no parameter.
  • Profile records where address or other free-text fields contain <script>, onerror=, javascript:, or HTML event handler strings.
  • Unexpected outbound requests from administrator browsers shortly after viewing user profiles, suggesting XSS-driven session theft.
  • Web server access logs showing repeated requests from a single source iterating through profile IDs or settings parameters.

Detection Strategies

  • Inspect Joomla database tables used by EkRishta for stored payloads containing script tags or HTML event handlers in user-controlled fields.
  • Deploy web application firewall (WAF) signatures for common SQL injection patterns targeting the phone_no parameter and user_setting route.
  • Correlate HTTP 500 responses and database error messages with requests to EkRishta endpoints to identify probing activity.

Monitoring Recommendations

  • Forward Joomla access logs and MySQL/MariaDB query logs to a centralized log platform for query-pattern analysis.
  • Alert on administrator session anomalies such as new IPs or user-agent changes following profile-view events.
  • Track changes to the Joomla #__users and EkRishta extension tables, especially in fields rendered without encoding.

How to Mitigate CVE-2018-25330

Immediate Actions Required

  • Disable or uninstall the EkRishta 2.10 extension until a patched release from the vendor is confirmed.
  • Audit user profile data and purge stored HTML or script content from free-text fields such as Address.
  • Rotate Joomla administrator and database credentials if logs show evidence of SQL injection attempts.
  • Restrict access to the EkRishta endpoints behind authentication or IP allowlisting while remediation is in progress.

Patch Information

No vendor patch is referenced in the available advisories. Confirm the current status of the extension through the Joomla Extension EK Rishta directory listing and the VulnCheck Advisory on Joomla EK Rishta before re-enabling the component.

Workarounds

  • Apply WAF rules that block SQL metacharacters and UNION SELECT patterns in POST bodies targeting the user_setting route.
  • Enforce a strict Content Security Policy (CSP) on the Joomla site to limit execution of inline scripts injected through stored XSS.
  • Add server-side input validation that rejects HTML tags and non-numeric characters in fields such as phone_no and Address.
  • Remove the EkRishta extension entirely if it is not business-critical, eliminating the affected attack surface.
bash
# Example WAF rule snippet (ModSecurity) to block SQLi against user_setting
SecRule REQUEST_URI "@contains user_setting" \
  "phase:2,id:1002530,deny,status:403,log,\
   msg:'CVE-2018-25330 EkRishta SQLi attempt',\
   chain"
  SecRule ARGS:phone_no "@rx (?i)(union(\s)+select|--|';|or\s+1=1)" "t:none"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechJoomla

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/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-89
  • Technical References
  • Joomla Extension EK Rishta

  • Exploit-DB #44660

  • Joomla Extensions Resource

  • VulnCheck Advisory on Joomla EK Rishta
  • Related CVEs
  • CVE-2023-54364: Joomla HikaShop XSS Vulnerability

  • CVE-2023-54363: Joomla Solidres XSS Vulnerability

  • CVE-2023-54362: Joomla VirtueMart XSS Vulnerability

  • CVE-2023-54361: Joomla iProperty Real Estate XSS Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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