CVE-2026-107757 Gallery Custom Links <= 2.3.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Comment Author Display Name + Comment HTML Comment Body
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPWordPress
Description
The Gallery Custom Links plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'display_name (profile.php) + comment (wp-comments-post.php)' parameter in all versions up to, and including, 2.3.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit requires two coordinated inputs from the same authenticated attacker: an HTML comment payload stored in a comment body (preserved verbatim by WordPress comment kses) and a matching simple_html_dom noise key placed in the attacker's display_name (which survives esc_attr() intact), with substitution occurring after both filters have run during the plugin's default-on output-buffering pass over the full rendered page.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| tigroumeow Gallery Custom Links | <= 2.3.3 | after 2.3.3 | Fixed |
| wordpress gallery-custom-links(WordPress) | < 2.3.4 | 2.3.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tigroumeow Gallery Custom Links | <= 2.3.3 | No fix listed |
| wordpress gallery-custom-links(WordPress) | < 2.3.4 | 2.3.4 |
References
- www.wordfence.com
- plugins.trac.wordpress.org
- plugins.trac.wordpress.org
- plugins.trac.wordpress.org
- plugins.trac.wordpress.org
- Wordfence Intelligence third-party-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-100914 third-party-advisory