# CVE-2021-24307: All in One SEO Pack < 4.1.0.2 - Admin RCE via unserialize

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 53.3%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-24T10:58:05.000Z
- Modified: 2026-06-17T03:39:48.257Z
- Weaknesses: CWE-502
- Assigned by: WPScan

## Description

The All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings before 4.1.0.2 enables authenticated users with "aioseo_tools_settings" privilege (most of the time admin) to execute arbitrary code on the underlying host. Users can restore plugin's configuration by uploading a backup .ini file in the section "Tool > Import/Export". However, the plugin attempts to unserialize values of the .ini file. Moreover, the plugin embeds Monolog library which can be used to craft a gadget chain and thus trigger system command execution.

(As written by CVE List.)

## Affected

- All in One SEO Team All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings: from 4.1.0.2 before 4.1.0.2
- aioseo all_in_one_seo: before 4.1.0.2

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://wpscan.com/vulnerability/ab2c94d2-f6c4-418b-bd14-711ed164bcf1> (exploit, third-party-advisory)
- <https://aioseo.com/changelog/> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2021-24307](https://www.cve.org/CVERecord?id=CVE-2021-24307), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24307](https://nvd.nist.gov/vuln/detail/CVE-2021-24307), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24307 · Whole record: https://cve.day/CVE-2021-24307.json · Rebuilt by cve.day 2026-11-25T22:58:01.504Z
