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

CVE-2025-65368: Codewithcj Sparkyfitness XSS Vulnerability

CVE-2025-65368 is a Cross Site Scripting flaw in Codewithcj Sparkyfitness v0.15.8.2 affecting user input and LLM output. This article covers the technical details, affected versions, security impact, and mitigation.

Published: January 23, 2026

CVE-2025-65368 Overview

CVE-2025-65368 is a Cross-Site Scripting (XSS) vulnerability affecting SparkyFitness v0.15.8.2. The vulnerability exists in the handling of user input and LLM (Large Language Model) output, allowing attackers to inject malicious scripts into web pages viewed by other users. This type of XSS vulnerability can be exploited to steal session tokens, redirect users to malicious websites, or perform unauthorized actions on behalf of authenticated users.

Critical Impact

Attackers can inject malicious scripts via user input and LLM output fields, potentially compromising user sessions and sensitive data within the SparkyFitness application.

Affected Products

  • SparkyFitness v0.15.8.2
  • Codewithcj SparkyFitness (all versions matching cpe:2.3:a:codewithcj:sparkyfitness:*:*:*:*:*:*:*:*)

Discovery Timeline

  • 2026-01-15 - CVE-2025-65368 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2025-65368

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting (XSS). The flaw exists in how SparkyFitness processes and renders user-supplied input and LLM-generated output without proper sanitization or encoding.

The involvement of LLM output as an attack vector is particularly noteworthy, as it represents an emerging attack surface in AI-integrated applications. When LLM responses containing malicious payloads are rendered directly in the browser without proper encoding, attackers can craft inputs that manipulate the LLM into generating XSS payloads, or the LLM may inadvertently reflect user-supplied malicious content.

The vulnerability requires user interaction, as victims must view a page containing the injected payload. However, the scope is changed, meaning the vulnerability can affect resources beyond the vulnerable component's security scope.

Root Cause

The root cause of CVE-2025-65368 stems from insufficient input validation and output encoding within the SparkyFitness application. Specifically, the application fails to properly sanitize user-provided input before reflecting it in web pages, and similarly fails to encode LLM-generated output before rendering it in the browser context. This allows HTML and JavaScript code to be interpreted and executed by the victim's browser rather than being displayed as plain text.

Attack Vector

The attack vector is network-based, requiring no authentication (PR:N) but necessitating user interaction (UI:R). An attacker can exploit this vulnerability by:

  1. Submitting malicious JavaScript payloads through user input fields
  2. Crafting inputs designed to cause the LLM to generate responses containing executable scripts
  3. Sharing links or content that triggers the XSS payload when viewed by other users

The exploitation mechanism involves injecting script tags or JavaScript event handlers through inadequately sanitized input fields. When another user views the affected page, the malicious script executes in their browser context, potentially allowing the attacker to hijack sessions, modify page content, or exfiltrate sensitive information.

For detailed technical information, refer to the GitHub Security Advisory.

Detection Methods for CVE-2025-65368

Indicators of Compromise

  • Unusual JavaScript execution patterns or unexpected script tags in page source when viewing SparkyFitness content
  • User reports of unexpected redirects, pop-ups, or modified page content within the application
  • Server logs containing suspicious input patterns with HTML/JavaScript tags in user input fields
  • Browser console errors indicating blocked scripts due to Content Security Policy violations (if CSP is enabled)

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block common XSS payload patterns in requests to SparkyFitness
  • Monitor application logs for input containing <script>, javascript:, onerror=, onload=, and similar XSS indicators
  • Deploy browser-based XSS detection using Content Security Policy (CSP) reporting to identify attempted script injections
  • Review LLM interaction logs for suspicious prompt patterns designed to generate script output

Monitoring Recommendations

  • Enable verbose logging for all user input fields and LLM interactions within SparkyFitness
  • Set up alerting for any CSP violations that may indicate XSS exploitation attempts
  • Monitor for unusual patterns in user session behavior that could indicate session hijacking

How to Mitigate CVE-2025-65368

Immediate Actions Required

  • Update SparkyFitness to the latest patched version when available from the vendor
  • Implement Content Security Policy (CSP) headers to restrict script execution sources
  • Review and enhance input validation for all user-facing input fields
  • Ensure all LLM output is properly HTML-encoded before rendering in the browser

Patch Information

The vendor has acknowledged this vulnerability through a GitHub Security Advisory. Users should monitor the SparkyFitness GitHub repository for security updates and apply patches as they become available.

Workarounds

  • Deploy a Web Application Firewall (WAF) with XSS filtering rules in front of the SparkyFitness application
  • Implement strict Content Security Policy headers to prevent inline script execution
  • Sanitize all user inputs server-side using a well-tested HTML sanitization library before processing or storage
  • Apply output encoding to all dynamic content, including LLM responses, before rendering in HTML context
bash
# Example Content Security Policy header configuration for nginx
# Add to server or location block in nginx.conf
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'none';" always;

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechCodewithcj Sparkyfitness

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Project Repository
  • Vendor Resources
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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