A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-9377

CVE-2026-9377: SUP Online Shopping 1.0 XSS Vulnerability

CVE-2026-9377 is a cross-site scripting flaw in SourceCodester SUP Online Shopping 1.0 that allows remote attackers to inject malicious scripts. This post covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-9377 Overview

CVE-2026-9377 is a cross-site scripting (XSS) vulnerability in SourceCodester SUP Online Shopping 1.0. The flaw resides in an unknown function within the /admin/productedit.php file. Attackers can manipulate the productName parameter to inject arbitrary script content. The exploit is publicly available and can be initiated remotely, though it requires high privileges and user interaction. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).

Critical Impact

Authenticated administrators can inject malicious JavaScript through the productName field, enabling session theft, credential harvesting, or further pivoting against other administrative users of the SUP Online Shopping application.

Affected Products

  • SourceCodester SUP Online Shopping 1.0
  • Component: /admin/productedit.php
  • Vulnerable parameter: productName

Discovery Timeline

  • 2026-05-24 - CVE-2026-9377 published to NVD
  • 2026-05-26 - Last updated in NVD database

Technical Details for CVE-2026-9377

Vulnerability Analysis

The vulnerability stems from improper neutralization of user-supplied input in the productName parameter processed by /admin/productedit.php. The application reflects or stores the parameter value without sanitizing or encoding HTML and JavaScript metacharacters. When the affected page renders the value, the browser interprets injected payloads as executable script.

Because the affected endpoint resides in the /admin/ directory, exploitation requires authenticated administrative access. The EPSS data places exploitation probability at 0.03%, reflecting the high privilege requirement and limited deployment of the SourceCodester SUP Online Shopping codebase.

Root Cause

The root cause is missing output encoding and input validation on the productName field within the product edit workflow. The application accepts arbitrary HTML and script tokens in the parameter and writes them into the response without contextual escaping. This is a classic CWE-79 pattern in PHP applications that concatenate request parameters directly into HTML output.

Attack Vector

An authenticated attacker with administrative privileges submits a crafted value in the productName parameter when editing a product entry. The payload is stored or reflected by productedit.php and executes in the browser of any user who subsequently views the affected page. Exploitation requires user interaction by another administrator visiting the page containing the injected payload.

For technical specifics, see the GitHub CVE Issue Discussion and VulDB Vulnerability Detail.

Detection Methods for CVE-2026-9377

Indicators of Compromise

  • HTTP POST or GET requests to /admin/productedit.php containing <script>, javascript:, onerror=, or onload= tokens in the productName parameter.
  • Database rows in product tables where the product name field contains HTML tags or encoded script payloads.
  • Outbound browser requests from administrative sessions to attacker-controlled domains immediately after viewing product edit pages.

Detection Strategies

  • Inspect web server access logs for unusual character sequences in productName query strings or POST bodies submitted to /admin/productedit.php.
  • Deploy a web application firewall rule that matches script-injection signatures against requests targeting the admin product edit endpoint.
  • Perform static review of the SUP Online Shopping codebase to identify uses of productName rendered without htmlspecialchars() or equivalent escaping.

Monitoring Recommendations

  • Alert on administrative account logins followed by edits to product records containing non-alphanumeric content in name fields.
  • Monitor browser console errors and Content Security Policy (CSP) violation reports originating from admin pages.
  • Track session activity for administrators viewing product pages outside expected business hours.

How to Mitigate CVE-2026-9377

Immediate Actions Required

  • Restrict access to /admin/productedit.php to trusted IP ranges through web server or firewall rules.
  • Audit existing product records for HTML or script content in the productName field and sanitize stored values.
  • Enforce strong authentication and rotate credentials for all administrative accounts.

Patch Information

No vendor patch has been published for SourceCodester SUP Online Shopping 1.0 as of the NVD last-modified date of 2026-05-26. Organizations running this application should consult the SourceCodester Security Resource for any subsequent updates and apply source-level fixes by adding output encoding to the productName rendering path.

Workarounds

  • Apply htmlspecialchars($productName, ENT_QUOTES, 'UTF-8') to all output of the productName value in PHP templates.
  • Validate the productName input server-side using an allowlist of permitted characters before persisting to the database.
  • Deploy a strict Content Security Policy that disallows inline scripts on administrative pages to limit payload execution.
  • Place the admin interface behind a VPN or reverse proxy with additional authentication until source-level remediation is in place.
bash
# Example WAF rule (ModSecurity) blocking script tokens in productName
SecRule ARGS:productName "@rx (?i)(<script|javascript:|onerror=|onload=)" \
    "id:1009377,phase:2,deny,status:403,msg:'CVE-2026-9377 XSS attempt in productName'"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechSourcecodester Sup Online Shopping

  • SeverityLOW

  • CVSS Score1.9

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/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
  • GitHub CVE Issue Discussion

  • VulDB Vulnerability Submission

  • VulDB Vulnerability Detail

  • VulDB CTI for Vulnerability

  • SourceCodester Security Resource
  • Related CVEs
  • CVE-2026-8128: SUP Online Shopping SQL Injection Flaw

  • CVE-2026-8130: SUP Online Shopping 1.0 SQLi Vulnerability

  • CVE-2026-8131: SourceCodester SUP Shopping SQLi Flaw

  • CVE-2026-8129: SUP Online Shopping SQL Injection 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