Plugins · php-code-widget · data as of 2026-11-29
Is PHP Code Widget safe? Known vulnerabilities and latest version
- Latest version
- 2.4
- Last updated
- 2022-03-30
- Active installs
- 70,000+
- Known issues on record
- 0
- Unpatched in latest
- 0
- Tested up to WP
- 5.9.21
Like the Text widget, but also allows working PHP code to be inserted. — by Samuel Wood (Otto)
What to do
- Update to the latest version (2.4). Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.
With WP-CLI: wp plugin get php-code-widget --field=version shows what you run; wp plugin update php-code-widget updates it.
Known vulnerabilities
None on record in the sources we check, as of 2026-11-29.
Recent activity
- 2022-03-30 — latest release on wordpress.org (2.4).
Get an email when PHP Code Widget has a new vulnerability
Free. One email when a new PHP Code Widget issue is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
Questions about PHP Code Widget
Is PHP Code Widget safe to use?
No known vulnerabilities on record for PHP Code Widget. As of 2026-11-29, none of the sources we check list a vulnerability for this plugin. That is not proof it has none; keep it updated. Laskyr does not give safety verdicts. Keep PHP Code Widget on the latest version (2.4) and remove it if you do not use it.
Which versions of PHP Code Widget are vulnerable?
None of the sources we check list a vulnerable version as of 2026-11-29.
What is the latest version of PHP Code Widget?
2.4, according to wordpress.org (last updated 2022-03-30). It has 70,000+ active installs.
What should I do if my PHP Code Widget is out of date?
Take a backup, then update it from Dashboard > Updates (or run wp plugin update php-code-widget). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/php-code-widget (Plugins API), fetched 2026-11-29.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- We list a CVE only when its references or advisory name this exact plugin, so a few real issues may be missing. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/php-code-widget"><img src="https://laskyr.com/plugins/php-code-widget/badge.svg" alt="PHP Code Widget vulnerability status"></a>