Skip to content
Laskyr

Plugins · php-code-widget · data as of 2026-11-29

Is PHP Code Widget safe? Known vulnerabilities and latest version

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.

Last updated on wordpress.org on 2022-03-30, more than two years ago. Plugins that stop getting updates also stop getting security fixes.

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

  1. Update to the latest version (2.4). Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. 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

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

Badge for your site or docs (states facts with a date, not a verdict):
PHP Code Widget vulnerability status badge
<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>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.