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-33738

CVE-2026-33738: Lychee Photo Management XSS Vulnerability

CVE-2026-33738 is a cross-site scripting flaw in Lychee photo management tool affecting RSS/Atom feeds. Attackers can inject malicious scripts via photo descriptions. This article covers technical details, affected versions, and mitigation.

Published: March 26, 2026

CVE-2026-33738 Overview

CVE-2026-33738 is a stored Cross-Site Scripting (XSS) vulnerability affecting Lychee, a free, open-source photo-management tool. The vulnerability exists because the photo description field is stored without HTML sanitization and rendered using Blade unescaped output ({!! $item->summary !!}) in the RSS, Atom, and JSON feed templates. The /feed endpoint is publicly accessible without authentication, allowing any RSS reader to execute attacker-controlled JavaScript when processing malicious feed content.

Critical Impact

Authenticated users can inject malicious JavaScript through photo descriptions, which executes in the context of any RSS reader accessing the public /feed endpoint without authentication.

Affected Products

  • Lychee versions prior to 7.5.3

Discovery Timeline

  • 2026-03-26 - CVE-2026-33738 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33738

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw stems from improper output encoding in Lychee's feed generation functionality. When photo descriptions containing malicious scripts are processed, the application uses Blade's unescaped output syntax to render the content directly into RSS, Atom, and JSON feeds without sanitization.

The attack requires low privileges (authenticated user access to upload photos with descriptions) but can impact a broader audience since the /feed endpoint is publicly accessible. This creates a scenario where an authenticated attacker can persist malicious JavaScript that executes when any unauthenticated user or RSS aggregator accesses the feed.

Root Cause

The root cause is the use of Blade's unsafe rendering directive {!! !!} instead of the escaped {{ }} syntax when outputting user-controlled content in feed templates. The $item->summary variable containing photo descriptions is rendered without any HTML entity encoding or sanitization, allowing raw HTML and JavaScript to be injected directly into the feed output.

Attack Vector

An attacker with authenticated access to the Lychee application can upload a photo with a malicious JavaScript payload embedded in the description field. When this content is rendered in the public RSS, Atom, or JSON feeds, the script executes in the context of any application parsing the feed, such as RSS reader applications or aggregator services.

The attack vector is network-based, requiring authenticated access to inject the payload but no authentication to trigger the vulnerability through feed consumption.

php
// Security patch - Adding Markdown facade for proper output sanitization
// Source: https://github.com/LycheeOrg/Lychee/commit/d2e2606a0223d5a384d5b806db1b31eb587adc5c

 use App\Services\UrlGenerator;
 use Carbon\Exceptions\InvalidFormatException;
 use Carbon\Exceptions\UnitException;
+use GrahamCampbell\Markdown\Facades\Markdown;
 use Illuminate\Contracts\Container\BindingResolutionException;
 use Illuminate\Support\Carbon;
 use Illuminate\Support\Collection;

The fix introduces the GrahamCampbell Markdown facade to properly sanitize user-controlled content before rendering in feed templates, replacing the unsafe unescaped output with properly sanitized Markdown rendering.

Detection Methods for CVE-2026-33738

Indicators of Compromise

  • Photo descriptions containing HTML script tags, event handlers (e.g., onerror, onload), or JavaScript protocol handlers
  • Unusual JavaScript payloads in RSS/Atom/JSON feed content from the /feed endpoint
  • Web server logs showing suspicious payloads in POST requests to photo upload or description update endpoints

Detection Strategies

  • Monitor application logs for photo descriptions containing <script>, javascript:, or HTML event handlers
  • Implement Web Application Firewall (WAF) rules to detect XSS payloads in form submissions to the Lychee application
  • Review feed output for unexpected HTML or script content that should not be present in properly sanitized feeds

Monitoring Recommendations

  • Enable logging for all photo description updates and monitor for HTML/JavaScript content
  • Configure alerts for feed requests that result in responses containing suspicious script patterns
  • Audit existing photo descriptions in the database for potential pre-existing malicious content

How to Mitigate CVE-2026-33738

Immediate Actions Required

  • Upgrade Lychee to version 7.5.3 or later immediately
  • Review existing photo descriptions in the database for malicious script content and sanitize as needed
  • If immediate upgrade is not possible, consider temporarily disabling the /feed endpoint

Patch Information

The vulnerability is addressed in Lychee version 7.5.3. The fix implements proper output sanitization using the GrahamCampbell Markdown facade to process user-controlled content before rendering in feed templates. For detailed information, see the GitHub Security Advisory GHSA-5574, the fix commit, and the v7.5.3 release notes.

Workarounds

  • Disable or restrict access to the /feed endpoint at the web server level until the patch can be applied
  • Implement input validation on photo descriptions to strip HTML and JavaScript content
  • Use a reverse proxy or WAF to filter potentially malicious content from feed responses
bash
# Example: Block access to /feed endpoint in nginx until patch is applied
location /feed {
    deny all;
    return 403;
}

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechLychee

  • SeverityMEDIUM

  • CVSS Score4.8

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/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
  • GitHub Commit Details

  • GitHub Pull Request Discussion

  • Lychee Release v7.5.3

  • GitHub Security Advisory GHSA-5574
  • Related CVEs
  • CVE-2026-39957: Lychee Auth Bypass Vulnerability

  • CVE-2026-33644: Lychee Photo Management SSRF Vulnerability

  • CVE-2026-33537: Lychee Photo Management SSRF Vulnerability

  • CVE-2026-22784: Lychee Auth Bypass 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