Microweber Cross Site Scripting (XSS) Vulnerability in microweber/microweber

microweber/microweber Updated 02 Oct 2025

Summary

05/08/2024
No i
Moderate
6.1

CVE-2024-41381: Microweber Cross Site Scripting (XSS) vulnerability. Affects microweber/microweber versions < 2.0.16. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Microweber is an open-source content management system (CMS) written in PHP. It provides a user-friendly interface for creating and managing websites. The microweber/microweber package is a Composer package that includes the core functionality of Microweber. It is widely used by developers to build websites and web applications.

Vulnerability Detail

The microweber/microweber package version 2.0.16 has been found to contain a Cross Site Scripting (XSS) vulnerability. This vulnerability can be exploited through the admin.php file located in the userfiles/modules/settings directory. An attacker can inject malicious scripts into the application, which may lead to unauthorized access, data theft, or other malicious activities.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, developers can manually sanitize and validate user input to prevent the execution of malicious scripts. This can be done by implementing proper input validation and output encoding techniques. Here is an example of how to sanitize user input in PHP:

$input = $_POST['input'];
$sanitizedInput = htmlspecialchars($input);

Conclusion

The microweber/microweber package version 2.0.16 is vulnerable to a Cross Site Scripting (XSS) attack. It is crucial for developers using Microweber to update to a non-affected version and implement proper input validation and output encoding to mitigate the risk of XSS attacks.

See every vulnerability recorded for microweber/microweber →

Share this vulnerability

FAQ

Cross Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as stealing sensitive information, session hijacking, or defacing websites.

The Microweber XSS vulnerability can be exploited by an attacker who has access to the admin.php file in the userfiles/modules/settings directory. By injecting malicious scripts into the application, the attacker can execute arbitrary code on the victim's browser.

The potential consequences of the Microweber XSS vulnerability include unauthorized access to sensitive information, such as user credentials or personal data, manipulation of website content, and the possibility of further attacks on users who visit the compromised website.

Yes, the fix for the Microweber XSS vulnerability is to update the microweber/microweber package to a version that is not affected by this issue. It is important to regularly check for updates and apply them promptly to ensure the security of your application.

Yes, as a temporary workaround, developers can manually sanitize and validate user input to prevent the execution of malicious scripts. This can be done by implementing proper input validation and output encoding techniques.

Related vulnerabilities

Recent vulnerabilities recorded for microweber/microweber.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback