{"id":"CVE-2026-107757","aliases":["CVE-2026-107757"],"related":[],"kind":"vulnerability","state":"published","title":"Gallery Custom Links <= 2.3.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Comment Author Display Name + Comment HTML Comment Body","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-14T07:43:36.794Z","modified":"2026-10-14T15:17:06.577Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.3.3","status":"affected"}],"vendor":"tigroumeow","product":"Gallery Custom Links","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f37a0db8-b13c-4d9f-bc6f-88576f9e3862?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php#L502","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php#L2112","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php#L2207","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/classes/core.php#L215","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/gallery-custom-links/tags/2.3.3/classes/core.php#L103","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3737485/gallery-custom-links","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3737485/gallery-custom-links/trunk/vendor/kub-at/php-simple-html-dom-parser/src/KubAT/PhpSimple/lib/simple_html_dom.php","tags":[],"sources":["cvelist","nvd"]}],"credits":["crow"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-14T14:16:06.134Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107757","url":"https://www.cve.org/CVERecord?id=CVE-2026-107757","licence":"CVE Terms of Use","modified":"2026-10-14T14:18:40.709Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107757","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107757","licence":"Public domain","modified":"2026-10-14T15:17:06.577Z"}],"updatedAt":"2026-11-25T22:59:44.612Z","epss":{"score":0.00235,"percentile":0.15493,"date":"2026-12-01T12:00:22.000Z"}}