Batch Validator - Reflected cross-site scripting (XSS)

4.8

Medium

Detected by

Fluid Attacks SAST Scanner

Disclosed by

Andres Roldan

Offensive Team, Fluid Attacks

Summary

Full name

Batch Validator - Reflected cross-site scripting (XSS)

Code name

State

Private

Release date

Mar 14, 2025

Affected product

Batch Validator

Fixed version(s)

Version

Vulnerability name

Reflected cross-site scripting (XSS)

Remotely exploitable

No

CVSS v4.0 vector string

CVSS: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

CVSS v4.0 base score

4.8

Exploit available

No

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. Disclosure policy

System Information

  • Product: Batch Validator

  • Version:

Mitigation

There is currently no patch available for this vulnerability.

Timeline

Vulnerability discovered

Mar 14, 2025

Vendor contacted

Mar 14, 2025

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.