Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-39380

CVE-2026-39380: Open Source POS Stored XSS Vulnerability

CVE-2026-39380 is a stored cross-site scripting flaw in Open Source Point of Sale that allows attackers to inject malicious scripts through stock location parameters. This article covers technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-39380 Overview

A Stored Cross-Site Scripting (XSS) vulnerability has been identified in Open Source Point of Sale (OSPOS), a web-based point-of-sale application written in PHP using the CodeIgniter framework. Prior to version 3.4.3, the application fails to properly sanitize user input supplied through the stock_location parameter in the Stock Locations configuration feature, allowing attackers to inject malicious JavaScript code that is stored in the database and executed when rendered in the Employees interface.

Critical Impact

Authenticated attackers can inject persistent malicious scripts that execute in the browsers of other users viewing the Employees interface, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of legitimate users.

Affected Products

  • Open Source Point of Sale (OSPOS) versions prior to 3.4.3
  • Web deployments using the vulnerable Stock Locations configuration feature
  • Systems where the Employees interface renders unsanitized stock location data

Discovery Timeline

  • 2026-04-07 - CVE CVE-2026-39380 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-39380

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) exists in the Stock Locations configuration feature of Open Source Point of Sale. The root issue lies in the application's failure to implement proper input validation and output encoding for user-supplied data in the stock_location parameter. When an authenticated user with access to the Stock Locations configuration submits a malicious payload, the application stores this unsanitized input directly in the database.

The stored payload is subsequently rendered without proper encoding when the data is displayed in the Employees interface, causing the malicious JavaScript to execute in the context of any user's browser session who views that interface. This represents a persistent attack vector since the malicious code remains in the database until explicitly removed.

Root Cause

The vulnerability stems from insufficient input sanitization and lack of output encoding in the CodeIgniter-based application. The stock_location parameter accepts arbitrary user input without filtering potentially dangerous HTML or JavaScript content. Additionally, when this data is retrieved from the database and rendered in the Employees interface views, the application fails to apply proper HTML entity encoding, allowing the stored script tags to be interpreted and executed by the browser.

Attack Vector

An attacker with authenticated access to the Stock Locations configuration feature can exploit this vulnerability by injecting JavaScript code into the stock_location field. The attack follows these steps:

  1. The attacker authenticates to the OSPOS application with sufficient privileges to access Stock Locations configuration
  2. A malicious JavaScript payload is submitted through the stock_location parameter
  3. The application stores the payload in the database without sanitization
  4. When any user (including administrators) accesses the Employees interface, the malicious script executes in their browser
  5. The attacker can leverage the executed script to steal session cookies, perform actions as the victim, or redirect users to malicious sites

The vulnerability requires user interaction (UI:R) as a victim must navigate to the affected interface for the payload to execute. Due to the changed scope (S:C), the vulnerability can impact resources beyond the vulnerable component's security scope.

Detection Methods for CVE-2026-39380

Indicators of Compromise

  • Unusual JavaScript code or HTML tags present in stock location database records
  • Unexpected script execution or browser behavior when accessing the Employees interface
  • Session hijacking attempts or unauthorized administrative actions following Employees page access
  • Database entries containing encoded or obfuscated script tags in stock location fields

Detection Strategies

  • Implement web application firewall (WAF) rules to detect XSS payloads in POST parameters targeting Stock Locations endpoints
  • Review database records in stock location tables for HTML tags, script elements, or encoded JavaScript
  • Monitor application logs for suspicious form submissions containing special characters or script syntax
  • Deploy browser-based XSS detection mechanisms that alert on unexpected script execution

Monitoring Recommendations

  • Enable detailed logging for all Stock Locations configuration changes with user attribution
  • Implement Content Security Policy (CSP) headers to restrict inline script execution and report violations
  • Set up alerts for database modifications to stock location records containing HTML special characters
  • Monitor for abnormal session behavior following Employees interface access

How to Mitigate CVE-2026-39380

Immediate Actions Required

  • Upgrade Open Source Point of Sale to version 3.4.3 or later immediately
  • Audit existing database records for malicious payloads in stock location fields
  • Review user access logs for suspicious activity related to Stock Locations configuration
  • Implement Content Security Policy headers as an additional defense layer

Patch Information

The vulnerability has been fixed in Open Source Point of Sale version 3.4.3. Organizations should upgrade to this version or later to remediate the vulnerability. For detailed information about the fix, refer to the GitHub Security Advisory.

Workarounds

  • Restrict access to the Stock Locations configuration feature to only trusted administrators until patching is complete
  • Implement server-side input validation to strip or encode HTML special characters in the stock_location parameter
  • Deploy a Web Application Firewall (WAF) with XSS detection rules to block malicious payloads
  • Sanitize existing database records by removing or encoding any HTML or JavaScript content in stock location fields
bash
# Example database cleanup query to identify potentially malicious records
# Review results manually before any modifications
mysql -u [username] -p [database] -e "SELECT * FROM stock_locations WHERE location_name REGEXP '<[^>]*script|javascript:|on[a-z]+=' ;"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOpen Source Point Of Sale

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32712: Point of Sale Stored XSS Vulnerability

  • CVE-2026-32888: Point of Sale SQLi 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