PT-2024-20505 · WordPress · Foogallery

Tim Coen

·

Published

2024-04-05

·

Updated

2025-02-24

·

CVE-2024-2471

CVSS v3.1

6.4

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions FooGallery plugin for WordPress versions up to, and including, 2.4.14
Description The issue is related to Stored Cross-Site Scripting via image attachment fields, such as Title, Alt Text, Custom URL, Custom Class, and Override Type, due to insufficient input sanitization and output escaping. This allows authenticated attackers with author-level access and above to inject arbitrary web scripts in pages, which will execute when a user accesses an injected page.
Recommendations For versions up to, and including, 2.4.14, update to a version later than 2.4.14 to resolve the issue. As a temporary workaround, consider restricting access to image attachment fields to minimize the risk of exploitation. Additionally, restrict the ability of authenticated attackers to inject arbitrary web scripts by implementing proper input sanitization and output escaping.

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2024-2471

Affected Products

Foogallery