Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-9134

MEDIUM · 6.4 CVSS Gepubliceerd: CWE-79

Beschrijving NL

De FooGallery-plug-in voor WordPress is kwetsbaar voor Stored Cross-Site Scripting via de shortcodeparameter 'custom_attribute_key' in versies tot en met 3.1.31 Dit komt door een onvolledige zwarte lijst van JavaScript-gebeurtenissen in de functie foogallery_sanitize_javascript(), die slechts een subset van HTML-gebeurtenisattributen blokkeert (onmouseover, onmouseout, onpointerenter, onclick, onload, onchange, onerror) terwijl andere, zoals 'onmouseenter', worden toegestaan, gecombineerd met t het niet ontsnappen aan de attribuutsleutel bij het bouwen van de galerijcontainer HTML in foogallery_build_container_attributes_safe(). Dit maakt het mogelijk voor geverifieerde aanvallers, met toegang op contributor-niveau en hoger, om willekeurige webscripts te injecteren in pagina's die worden uitgevoerd wanneer een gebruiker een geïnjecteerde pagina opent.

Origineel (Engels) tonen

The FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom_attribute_key' shortcode parameter in versions up to, and including, 3.1.31 This is due to an incomplete JavaScript event handler blacklist in the foogallery_sanitize_javascript() function, which blocks only a subset of HTML event attributes (onmouseover, onmouseout, onpointerenter, onclick, onload, onchange, onerror) while permitting others such as 'onmouseenter', combined with the failure to escape the attribute key when building the gallery container HTML in foogallery_build_container_attributes_safe(). This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References