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

CVE-2026-1116: parisneo/lollms XSS Vulnerability

CVE-2026-1116 is a cross-site scripting flaw in parisneo/lollms that enables attackers to inject malicious scripts, leading to account takeover or session hijacking. This article covers technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-1116 Overview

A Cross-site Scripting (XSS) vulnerability was identified in the from_dict method of the AppLollmsMessage class in parisneo/lollms prior to version 2.2.0. The vulnerability arises from the lack of sanitization or HTML encoding of the content field when deserializing user-provided data. This allows an attacker to inject malicious HTML or JavaScript payloads, which can be executed in the context of another user's browser. Exploitation of this vulnerability can lead to account takeover, session hijacking, or wormable attacks.

Critical Impact

Attackers can inject malicious scripts that execute in victim browsers, potentially leading to account takeover, session hijacking, and wormable attacks that could spread across the platform.

Affected Products

  • parisneo/lollms versions prior to 2.2.0
  • AppLollmsMessage class from_dict method
  • Social and direct messaging components in lollms backend

Discovery Timeline

  • 2026-04-12 - CVE-2026-1116 published to NVD
  • 2026-04-13 - Last updated in NVD database

Technical Details for CVE-2026-1116

Vulnerability Analysis

This XSS vulnerability exists in the deserialization process of the AppLollmsMessage class. When user-provided data is processed through the from_dict method, the content field is not properly sanitized or HTML-encoded before being rendered in the browser. This missing input sanitization creates a stored XSS attack surface where malicious payloads persist and execute whenever other users view the affected content.

The attack requires no authentication from the attacker's perspective, though it does require user interaction from the victim to trigger the payload. The scope is changed, meaning the vulnerability impacts resources beyond its security scope, affecting other users' sessions and browser contexts. This characteristic makes it particularly dangerous as it enables wormable attacks where compromised sessions can automatically propagate the malicious payload to additional victims.

Root Cause

The root cause is a missing input sanitization vulnerability (CWE-79) in the deserialization logic. The from_dict method directly accepts and processes user-controlled data in the content field without applying any HTML encoding, escaping, or sanitization. This allows raw HTML and JavaScript to be stored and later rendered in other users' browsers when viewing messages.

Attack Vector

The attack vector is network-based, allowing remote exploitation. An attacker can craft a malicious message containing JavaScript payloads in the content field. When this message is deserialized and rendered for other users, the embedded script executes in their browser context. The attack requires user interaction (the victim must view the malicious content) but requires no privileges from the attacker.

Potential attack scenarios include:

  • Injecting scripts that steal session cookies or authentication tokens
  • Creating self-propagating worm payloads that spread through the messaging system
  • Phishing attacks by manipulating the page content to capture credentials
  • Redirecting users to malicious external sites

The security patch demonstrates the fix by implementing bleach library for input sanitization:

python
 from fastapi import APIRouter, Depends, HTTPException, status
 from ascii_colors import trace_exception
 import re
+import bleach
 from backend.settings import settings
 from backend.task_manager import task_manager
 from backend.tasks.social_tasks import _respond_to_mention_task, _moderate_content_task

Source: GitHub Commit Update

The patch also applies sanitization to the direct messaging component:

python
 from werkzeug.utils import secure_filename
 from datetime import datetime
 from pydantic import BaseModel, Field
+import bleach

 from backend.db import get_db
 from backend.db.models.user import DBUser as User

Source: GitHub Commit Update

Detection Methods for CVE-2026-1116

Indicators of Compromise

  • Unusual JavaScript patterns in stored messages, particularly <script> tags or event handlers like onerror, onload, onclick
  • Messages containing encoded JavaScript payloads (Base64, URL encoding, Unicode escaping)
  • Unexpected outbound network requests from user browsers to unknown domains
  • Session anomalies such as concurrent sessions from different geographic locations

Detection Strategies

  • Implement web application firewall (WAF) rules to detect XSS patterns in message content
  • Monitor application logs for messages containing HTML tags or JavaScript event handlers
  • Deploy browser-based security monitoring to detect anomalous script execution
  • Review stored message content for suspicious patterns matching known XSS vectors

Monitoring Recommendations

  • Enable Content Security Policy (CSP) headers with violation reporting to detect XSS attempts
  • Monitor for unusual authentication patterns that may indicate session hijacking
  • Track changes in user account settings or profile data that could indicate compromise
  • Implement real-time alerting for messages containing known XSS payload signatures

How to Mitigate CVE-2026-1116

Immediate Actions Required

  • Upgrade parisneo/lollms to version 2.2.0 or later immediately
  • Review stored message data for potential malicious payloads and sanitize existing content
  • Implement Content Security Policy (CSP) headers to restrict inline script execution
  • Force session invalidation for all users to mitigate potential ongoing session hijacking

Patch Information

The vulnerability has been addressed in parisneo/lollms version 2.2.0. The fix implements input sanitization using the bleach library to properly sanitize user-provided content before storage and rendering. The security patch is available in commit 9767b882dbc893c388a286856beeaead69b8292a.

Additional details about this vulnerability can be found in the Huntr Bug Bounty Listing.

Workarounds

  • Deploy a reverse proxy or WAF to filter XSS patterns before they reach the application
  • Implement server-side content sanitization at the API gateway level
  • Restrict access to social and direct messaging features until patching is complete
  • Enable strict Content Security Policy headers with script-src 'self' directive
bash
# Example nginx configuration for CSP headers
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; frame-ancestors 'none';" always;

# WAF rule to block common XSS patterns (example for ModSecurity)
SecRule ARGS "@rx <script[^>]*>" "id:1001,phase:2,deny,status:403,msg:'XSS Attack Detected'"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechLollms

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • Huntr Bug Bounty Listing
  • Related CVEs
  • CVE-2026-1115: Lollms Stored XSS Vulnerability

  • CVE-2026-1163: Lollms Session Expiration Bypass Vulnerability

  • CVE-2026-1114: Lollms Privilege Escalation Vulnerability

  • CVE-2026-0558: Lollms Lollms DoS 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