Microweber CMS Reflected Cross-Site Scripting Vulnerability in Admin Page Layout Parameter

Vulnerability

A reflected cross-site scripting vulnerability has been identified in Microweber CMS version 2.0. The issue arises in the admin panel's page creation interface, specifically through the layout parameter on the /admin/page/create page. This vulnerability allows authenticated admin users to execute arbitrary JavaScript in their session context.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where injected scripts are executed immediately in the context of the affected user.

Reproduction

To reproduce this vulnerability, navigate to the /admin/page/create page and add a layout parameter with a script injection payload, such as a script tag containing JavaScript code, such as an alert command. The injected script will be executed in the context of the admin user.

Remediation

It is recommended to sanitize and validate the layout parameter on the server side before using it in Blade template includes. Implement strict allowlist checks to permit only known-safe layout filenames and use Laravel's escaping functions to handle user inputs.

Added: Aug 1, 2025, 5:53 PM
Updated: Aug 1, 2025, 7:24 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.4
exploitability
7.9
remediation
0.0
relevance
0.3
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.