Photo Gallery <= 1.8.2 - Cross-Site Request Forgery to Stored Cross-Site Scripting

2022-11-28 00:00
Krzysztof Zając

Strategic Overview

Vulnerability Overview

The Photo Gallery plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 1.8.2. This is due to missing or incorrect nonce validation one of its functions. This makes it possible for unauthenticated attackers to inject malicious JavaScript, that will execute whenever a user accesses a page under their control. This Cross-Site Scripting payload will trigger for that user only for the duration of their session.

Technical Analysis

REMEDIATION: Update to version 1.8.3, or a newer patched version --- IDENTIFIER: CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C