vulnerability

WordPress Plugin: filter-gallery: CVE-2022-4142: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Severity
5
CVSS
(AV:N/AC:L/Au:M/C:P/I:P/A:N)
Published
Dec 6, 2022
Added
May 15, 2025
Modified
Apr 29, 2026

Description

The WordPress Filter Gallery Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ufg_gallery_filters
AJAX action in versions up to, and including, 0.1.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Solution

filter-gallery-plugin-cve-2022-4142
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.