CM Table Of Contents - Reflected cross-site scripting (XSS)

Summary

NameCM Table Of Contents - Clear navigation for better content discovery 1.2.6 - Reflected cross-site scripting (XSS)
Code nameskims-0028
ProductCM Table Of Contents - Clear navigation for better content discovery
Affected versionsVersion 1.2.6
StatePrivate
Release date2025-03-14

Vulnerability

KindReflected cross-site scripting (XSS)
RuleReflected cross-site scripting (XSS)
RemoteNo
CVSSv4 VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:L/SC:L/SI:L/SA:L/E:U
CVSSv4 Base Score4.8 (Medium)
Exploit availableNo
CVE ID(s)CVE-2025-31303

Description

CM Table Of Contents - Clear navigation for better content discovery 1.2.6 was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/views/backend/admin_importexport.p hp.

Vulnerability

Skims by Fluid Attacks discovered a Reflected cross-site scripting (XSS) in CM Table Of Contents - Clear navigation for better content discovery 1.2.6. The following is the output of the tool:

Skims output

 45 | <li>Minimal row: <code>"""",""Title"","""",""Description""</code></li>
 46 | </ul>
 47 | </div>
 48 |
 49 | <?php if( isset($_GET['msg']) && $_GET['msg'] == 'imported' ): ?>
 50 | <div id=""message"" class=""updated below-h2"">File <?php
 51 | if( $_GET['itemsnumber'] == 0 ) echo 'import failed';
 52 | else 'succesfully imported';
> 53 | ?> (<?php echo $_GET['itemsnumber']; ?> items read from file)</div>
 54 | <?php endif; ?>
 55 |
 56 | <form method=""post"" enctype=""multipart/form-data"">
 57 | <input type=""file"" name=""importCSV"" />
 58 | <input type=""submit"" value=""Import from CSV"" name=""cmtoc_doImport"" class=""button button-primary""/>
 59 | </form><br />
 60 | Format example:<br />
 61 | <pre>
     ^ Col 0

Our security policy

We have reserved the ID CVE-2025-31303 to refer to this issue from now on.

System Information

  • Product: CM Table Of Contents - Clear navigation for better content discovery
  • Version: 1.2.6

Mitigation

There is currently no patch available for this vulnerability.

Credits

The vulnerability was discovered by Andres Roldan from Fluid Attacks' Offensive Team using Skims

Timeline

Time-lapse-logo

2025-03-14

Vulnerability discovered.

Time-lapse-logo

2025-03-14

Vendor contacted.

Fluid Logo Footer

Testing software security for over 20 years

Fluid Attacks tests applications and other systems, covering all software development stages. Our team assists clients in quickly identifying and managing vulnerabilities to reduce the risk of incidents and deploy secure technology.

Copyright © 0 Fluid Attacks. We hack your software. All rights reserved.