CVE-2026-92767: Twenty20 Image Before-After <= 2.0.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'offset' Shortcode Attribute
The Twenty20 Image Before-After plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'offset' Shortcode Attribute in all versions up to, and including, 2.0.5 due to insufficient input sanitization and output escaping. 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.
Affected Software
Event History
Frequently Asked Questions
Which WordPress sites are exposed?
Sites using the Twenty20 Image Before-After plugin in version 2.0.5 or earlier are affected. Exploitation requires an authenticated WordPress account with Contributor-level permissions or higher.
What does an attacker need to exploit this issue?
An attacker needs valid WordPress credentials for an account with at least the Contributor role and the ability to add a crafted Twenty20 shortcode using the offset attribute. No victim interaction is needed for the injection itself.
When does the injected script execute?
The malicious script is stored in a page and executes whenever a user accesses that injected page. This can affect any user who views the page, including higher-privileged WordPress users.