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
    • 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-2022-0378

CVE-2022-0378: Microweber Reflected XSS Vulnerability

CVE-2022-0378 is a reflected cross-site scripting vulnerability in Microweber that allows attackers to inject malicious scripts. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 17, 2026

CVE-2022-0378 Overview

CVE-2022-0378 is a Reflected Cross-Site Scripting (XSS) vulnerability discovered in Microweber CMS, an open-source content management system. The vulnerability exists in versions prior to 1.2.11 and allows attackers to inject malicious scripts through improperly sanitized input parameters in the module API functionality.

Critical Impact

Attackers can execute arbitrary JavaScript in victims' browsers, potentially leading to session hijacking, credential theft, or malicious actions performed on behalf of authenticated users.

Affected Products

  • Microweber CMS versions prior to 1.2.11
  • Packagist microweber/microweber package (all versions before 1.2.11)

Discovery Timeline

  • 2022-01-26 - CVE-2022-0378 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-0378

Vulnerability Analysis

This Reflected XSS vulnerability exists in the Microweber CMS module API functionality. The flaw stems from insufficient input validation and output encoding when processing value parameters passed to the module API call endpoint. When a user visits a maliciously crafted URL containing JavaScript payload in the value parameters, the unescaped content is reflected back in the HTTP response, causing the browser to execute the attacker-controlled script in the context of the vulnerable web application.

Reflected XSS attacks require user interaction, as victims must click on a malicious link or visit an attacker-controlled page that redirects to the vulnerable endpoint. However, successful exploitation can lead to serious consequences including theft of session cookies, keylogging, phishing attacks within the trusted domain context, and unauthorized actions performed using the victim's authenticated session.

Root Cause

The root cause of this vulnerability is improper input validation and missing output encoding in the ApiController.php file. The module API endpoint failed to properly sanitize user-supplied input in value parameters before reflecting them in the HTTP response. This lack of input sanitization allowed raw HTML and JavaScript code to be included in the response without proper encoding.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker crafts a malicious URL containing JavaScript payload within the value parameters of the module API endpoint. The attacker then distributes this URL through phishing emails, social media, or by embedding it in other websites. When a victim clicks the link while authenticated to the Microweber CMS instance, the malicious script executes in their browser with full access to the session context.

php
// Security patch in src/MicroweberPackages/App/Http/Controllers/ApiController.php
// fix xss on module api call in value parameters

 class ApiController  extends FrontendController
 {
 
     public function api_html()
     {
         if (!defined('MW_API_HTML_OUTPUT')) {

Source: GitHub Commit

Detection Methods for CVE-2022-0378

Indicators of Compromise

  • HTTP request logs showing unusual URL patterns with JavaScript code or HTML tags in API endpoint parameters
  • Access logs with encoded payloads such as %3Cscript%3E or javascript: in query strings targeting module API endpoints
  • Reports from users about unexpected browser behavior or pop-ups when interacting with the CMS

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block requests containing common XSS payloads in URL parameters
  • Enable Content Security Policy (CSP) headers to restrict script execution sources and detect policy violations
  • Configure intrusion detection systems to alert on patterns matching XSS attack signatures in HTTP traffic
  • Review web server access logs for requests to /api/ endpoints containing suspicious encoded characters

Monitoring Recommendations

  • Deploy real-time log analysis to identify anomalous request patterns targeting API endpoints
  • Monitor for CSP violation reports which may indicate attempted XSS exploitation
  • Implement browser-based security headers monitoring to ensure protective headers remain properly configured
  • Conduct regular vulnerability scanning of Microweber installations to verify patch status

How to Mitigate CVE-2022-0378

Immediate Actions Required

  • Upgrade Microweber CMS to version 1.2.11 or later immediately
  • Review web server logs for evidence of exploitation attempts
  • Implement Content Security Policy (CSP) headers as a defense-in-depth measure
  • Consider temporarily restricting access to the module API endpoint if immediate patching is not possible

Patch Information

Microweber has released a security patch addressing this vulnerability in version 1.2.11. The fix implements proper input sanitization for value parameters in the module API call functionality. The patch is available through the official GitHub repository. Users should update through Packagist or download the latest release directly from the Microweber GitHub repository.

Workarounds

  • Deploy a Web Application Firewall (WAF) with XSS protection rules to filter malicious requests
  • Implement strict Content Security Policy headers to prevent inline script execution: script-src 'self'
  • Use input validation at the web server or reverse proxy level to reject requests containing suspicious characters
  • If possible, restrict access to the API endpoints to authenticated administrators only
bash
# Example Apache configuration to add security headers
<IfModule mod_headers.c>
    Header always set Content-Security-Policy "default-src 'self'; script-src 'self'"
    Header always set X-Content-Type-Options "nosniff"
    Header always set X-XSS-Protection "1; mode=block"
</IfModule>

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMicroweber

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability7.40%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Huntr Bounty Listing
  • Vendor Resources
  • GitHub Commit Notification
  • Related CVEs
  • CVE-2025-70792: Microweber CMS XSS Vulnerability

  • CVE-2025-70791: Microweber Admin Panel XSS 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