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

14 mar 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

IA generativa

14 mar 2025

Vendor contacted

14 mar 2025

Inicia tu prueba gratuita de 21 días

Descubre los beneficios de nuestra solución Hacking Continuo, de la que ya disfrutan empresas de todos los tamaños.

Inicia tu prueba gratuita de 21 días

Descubre los beneficios de nuestra solución Hacking Continuo, de la que ya disfrutan empresas de todos los tamaños.

Inicia tu prueba gratuita de 21 días

Descubre los beneficios de nuestra solución Hacking Continuo, de la que ya disfrutan empresas de todos los tamaños.

Las soluciones de Fluid Attacks permiten a las organizaciones identificar, priorizar y remediar vulnerabilidades en su software a lo largo del SDLC. Con el apoyo de la IA, herramientas automatizadas y pentesters, Fluid Attacks acelera la mitigación de la exposición al riesgo de las empresas y fortalece su postura de ciberseguridad.

SOC 2 Type II

SOC 3

Suscríbete a nuestro boletín

Mantente al día sobre nuestros próximos eventos y los últimos blog posts, advisories y otros recursos interesantes.

Las soluciones de Fluid Attacks permiten a las organizaciones identificar, priorizar y remediar vulnerabilidades en su software a lo largo del SDLC. Con el apoyo de la IA, herramientas automatizadas y pentesters, Fluid Attacks acelera la mitigación de la exposición al riesgo de las empresas y fortalece su postura de ciberseguridad.

SOC 2 Type II

SOC 3

Suscríbete a nuestro boletín

Mantente al día sobre nuestros próximos eventos y los últimos blog posts, advisories y otros recursos interesantes.

Las soluciones de Fluid Attacks permiten a las organizaciones identificar, priorizar y remediar vulnerabilidades en su software a lo largo del SDLC. Con el apoyo de la IA, herramientas automatizadas y pentesters, Fluid Attacks acelera la mitigación de la exposición al riesgo de las empresas y fortalece su postura de ciberseguridad.

SOC 2 Type II

SOC 3

Suscríbete a nuestro boletín

Mantente al día sobre nuestros próximos eventos y los últimos blog posts, advisories y otros recursos interesantes.