Comment Pub - 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

Comment Pub 1.0.0 - Reflected cross-site scripting (XSS)

Code name

State

Private

Release date

Mar 14, 2025

Affected product

Comment Pub

Affected version(s)

Version 1.0.0

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

Comment Pub 1.0.0 was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/comments_pub_sorting.php.

Vulnerability

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

Skims output

 677 | echo apply_filters( 'comment_status_links', $status_links );
 678 |
 679 | ?>
 680 |
 681 | <!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
 682 | <form id=""comment-filter"" method=""GET"">
 683 |
 684 | <!-- For plugins, we also need to ensure that the form posts back to our current page -->
> 685 | <input type=""hidden"" name=""page"" value=""<?php echo $_REQUEST['page'] ?>"" />
 686 |
 687 | <?php $wp_comment_table->search_box( __( 'Search Comment Pub' ), 'comment_pub' ); ?>
 688 |
 689 | <input type=""hidden"" name=""comment_status"" value=""<?php if( $comment_status == ''){ $comment_status = 'all';
 690 | <input type=""hidden"" name=""pagegen_timestamp"" value=""<?php echo esc_attr(current_time('mysql', 1)); ?>"" />
 691 |
 692 | <?php if ( isset($_REQUEST['paged']) ) { ?>
 693 | <input type=""hidden"" name=""paged"" value=""<?php echo esc_attr( absint( $_REQUEST['paged'] ) ); ?>"" />
      ^ Col 0

Our security policy

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

System Information

  • Product: Comment Pub

  • Version: 1.0.0

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

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.