Image Regenerate & Select Crop <= 8.2.2 - Authenticated (Administrator+) PHP Object Injection and Arbitrary Options Update via Settings Import

High 7.2 CWE-502Fixed in 9.0.0
ID
WPSEC-2026-4254
Plugin
Image Regenerate & Select Crop (image-regenerate-select-crop)
Affected
from 5.0 before 9.0.0
Remediation
Update to 9.0.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-30
Attack surface
Image Regenerate & Select Crop on WPSec AttackSurface
Fix released
Published

Description

The Image Regenerate & Select Crop plugin for WordPress is vulnerable to PHP Object Injection via the settings import feature in versions 5.0 up to, and including, 8.2.2 due to deserialization of untrusted input from the 'sirsc-import-settings' parameter with maybe_unserialize(), after which the import writes every option the input names. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject a PHP object and to update arbitrary options of the site. No known POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code. This matters on multisite networks, where site administrators cannot normally change unregistered options or run code. The import is part of the plugin's free Import/Export extension, which a site administrator can enable.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0