CVE-2026-10780
Beschrijving NL
De Static Block-plug-in voor WordPress is kwetsbaar voor Insecure Direct Object Reference in alle versies tot en met 2.2. Dit komt door de static_block_content() shortcode-handler die een bericht ophaalt via get_post() met behulp van een door de aanvaller geleverd 'id' -attribuut en de post_content uitvoert zonder de status van het bericht te verifiëren (privé, concept, in behandeling) of de mogelijkheid van de verzoekende gebruiker om het te bekijken. Dit maakt het mogelijk voor geverifieerde aanvallers, met toegang op contributor-niveau en hoger, om de inhoud van willekeurige berichten te lezen, inclusief privé- en concept statische blokken (en elk ander berichttype) gemaakt door beheerders, door de [static_block_content id="X"] shortcode in hun eigen inhoud in te sluiten en een voorbeeld ervan te bekijken.
Origineel (Engels) tonen
The Static Block plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.2. This is due to the static_block_content() shortcode handler retrieving a post via get_post() using an attacker-supplied 'id' attribute and outputting its post_content without verifying the post's status (private, draft, pending) or the requesting user's capability to view it. This makes it possible for authenticated attackers, with contributor-level access and above, to read the contents of arbitrary posts, including private and draft static blocks (and any other post type) created by administrators, by embedding the [static_block_content id="X"] shortcode in their own content and previewing it.