WordPress security changelog
MEDIUM CVE-2022-4142 Modified

WordPress Filter Gallery Plugin: A security weakness

WordPress Filter Gallery Plugin is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 4.8 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score 4.8 CVSS 3.1 · nvd@nist.gov
Component
WordPress Filter Gallery Plugin
Plugin slug
wordpress-filter-gallery
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Jan 02, 2023
Weakness
Not assigned

This CVE was published Jan 02, 2023 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update WordPress Filter Gallery Plugin to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The WordPress Filter Gallery Plugin WordPress plugin before 0.1.6 does not properly escape the filters passed in the ufg_gallery_filters ajax action before outputting them on the page, allowing a high privileged user such as an administrator to inject HTML or javascript to the plugin settings page, even when the unfiltered_html capability is disabled.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

NVD vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Primary and upstream sources