FooGallery - Reflected cross-site scripting (XSS)

Severity pending

Detected by

Fluid Attacks SAST Scanner

Disclosed by

Andres Roldan

Offensive Team, Fluid Attacks

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

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

Vulnerability discovered

Dec 6, 2024

Vulnerability patched

Mar 4, 2025

Vendor contacted

Feb 21, 2025

Public disclosure

Mar 5, 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.