Batch Validator - Reflected cross-site scripting (XSS)

Summary

NameBatch Validator - Reflected cross-site scripting (XSS)
Code nameskims-0006
ProductBatch Validator
Affected versionsVersion
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-31291

Description

Batch Validator

was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/batch-validator.php.

Vulnerability

Skims by Fluid Attacks discovered a Reflected cross-site scripting (XSS) in Batch Validator . The following is the output of the tool:

Skims output

 101 | function dprx_bval_loadjs() {
 102 | ?>
 103 | <script type=""text/javascript"">
 104 | function dprx_bval_js() {
 105 | document.getElementById('dprx_loadingstatus').style.display = 'block';
 106 | document.getElementById('dprx_batchvalidator').innerHTML = '<?php _e('Starting Validation. Please wait.','dprx_bval') ?
 107 | dprxu = new Ajax.PeriodicalUpdater(
 108 | 'dprx_batchvalidator',
> 109 | '<?php bloginfo(""wpurl""); ?>/wp-admin/index.php?page=<?php echo $_REQUEST['page']; ?>',
 110 | {method: 'get',
 111 | frequency: 0.3,
 112 | parameters:'dprx_bval_ajax=1',
 113 | insertion: Insertion.Top,
 114 | evalScripts: true}
 115 | );
 116 | }
 117 | </script>
  118 |  <?php
  119 | }
      ^ Col 0

Our security policy

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

System Information

  • Product: Batch Validator
  • Version:

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.