Total.js CMS Cross-Site Scripting Vulnerability in Layout Page Component

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Total.js CMS version 1.0.0. The issue arises in the Layout Page component, specifically within the 'layouts_save' function of the '/admin/' file. This vulnerability allows for the manipulation of the 'HTML' argument, leading to the execution of malicious scripts. The attack can be initiated remotely, and a public exploit is available.

Impact

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

Reproduction

To reproduce this vulnerability, log into the Total.js CMS admin panel and navigate to the Layouts section. Send a POST request to the '/admin/' endpoint with the 'layouts_save' schema. Include a payload in the 'html' field that contains an image tag with an event handler, such as 'onerror'. Once the layout is saved, open it to trigger the execution of the embedded JavaScript, such as an alert.

Added: Sep 25, 2025, 11:19 AM
Updated: Sep 25, 2025, 11:19 AM

Vulnerability Rating

Custom Algorithm
spread
2.2
impact
1.7
exploitability
6.0
remediation
0.0
relevance
0.6
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.