Skip to content
High 8.8

Widget Options 4.2.6.1以前にコード注入の脆弱性、投稿者権限から悪用のおそれ

CVE-2026-116615 First seen on SecPulse

Summary

Widget Optionsの4.2.6.1以前には、投稿者以上の権限を持つ認証済みユーザーがPHPの式を注入できる脆弱性があります。注入された式はサイトを表示するたびに実行され、管理者のメールアドレスなどサイトの設定情報が盗まれるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Widget Optionsの4.2.6.1以前には、投稿者以上の権限を持つ認証済みユーザーがPHPの式を注入できる脆弱性があります。注入された式はサイトを表示するたびに実行され、管理者のメールアドレスなどサイトの設定情報が盗まれるおそれがあります。修正版の情報は確認できていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
marketingfireWidget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets
≤ 4.2.6.1→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

The Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 4.2.6.1 via the post_content parameter. This is due to asymmetric parsing between the save-time strip filter (widgetopts_strip_logic_from_blocks()) and the render-time parser (blockopts_filter_before_display()): embedding an inner <!--start_widgetopts literal inside a JSON key causes the write-side json_decode to see a non-class key and skip stripping — persisting the payload verbatim to the database — while the render-side str_replace reconstitutes the key to class, feeding the attacker-controlled logic value directly into @eval. This makes it possible for authenticated attackers, with Author-level access and above, to inject PHP expressions that execute on every front-end page view, enabling boolean-oracle exfiltration of WordPress site configuration data — including admin email address, default role, and arbitrary get_option, get_user_meta, and get_post_meta values — via the plugin's allowlisted-function sandbox, which escalates to unrestricted code execution if any installed plugin extends the widgetopts_allowed_php_functions filter. Contributors can also exploit this vulnerability when their submitted post is later published by an administrator; notably, the injected payload executes for all site visitors, including unauthenticated users, because a trust-flag mech…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details