FooGallery - Reflected cross-site scripting (XSS)

5.1

Medium

5.1

Medium

Detected by

Fluid Attacks SAST Scanner

Disclosed by Andres Roldan

Summary

Full name

FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry and Carousel 2.4.29 - Reflected cross-site scripting (XSS)

Code name

State

Public

Release date

Mar 5, 2024

Affected product

FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry and Carousel

Affected version(s)

Version 2.4.29

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:N/VI:L/VA:N/SC:L/SI:L/SA:N

CVSS v4.0 base score

5.1

Exploit available

No

Description

FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry and Carousel 2.4.29 was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/extensions/albums/admin/class-meta boxes.php.

Vulnerability

Skims by Fluid Attacks discovered a Reflected cross-site scripting (XSS) in FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry and Carousel 2.4.29. The following is the output of the tool:

Skims output

 400 |
 401 |
 402 |
 403 | lery_details' ) ) {
 404 |
 405 | id );
 406 |
 407 |
 408 | gallery ); ?>
 409 |
> 410 | ""foogallery_id"" value=""<?php echo $foogallery_id; ?>"" />
 411 |
 412 |
 413 | s ) {
 414 | ld, true );
 415 | lds-' . $field;
 416 |
 417 |
 418 | =""' . $input_id . '"" name=""' . $field . '"" value=""' . esc_attr( foogallery_sanitize_javascript( $value ) ) . '"" />';
  419 |
  420 |
      ^ Col 50

Our security policy

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

Disclosure policy

System Information

  • Version: FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry and Carousel 2.4.29

Mitigation

There is currently no patch available for this vulnerability.

Timeline

Dec 6, 2024

Vulnerability discovered

Feb 21, 2025

Vendor contacted

Mar 4, 2025

Vulnerability patched

Mar 5, 2025

Public disclosure

Does your application use this vulnerable software?

During our free trial, our tools assess your application, identify vulnerabilities, and provide recommendations for their remediation.

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.

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.

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.

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.