# CVE-2022-2434: String Locator <= 2.5.0 - Cross-Site Request Forgery to PHAR Deserialization

- Severity: High 8.8 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): 1.64%, higher than 77% of CVEs (2026-12-02)
- Published: 2022-09-06T17:18:57.000Z
- Modified: 2026-06-17T04:41:53.330Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## Description

The String Locator plugin for WordPress is vulnerable to deserialization of untrusted input via the 'string-locator-path' parameter in versions up to, and including 2.5.0. This makes it possible for unauthenticated users to call files using a PHAR wrapper, granted they can trick a site administrator into performing an action such as clicking on a link, that will deserialize and call arbitrary PHP Objects that can be used to perform a variety of malicious actions granted a POP chain is also present. It also requires that the attacker is successful in uploading a file with the serialized payload.

(As written by CVE List.)

## Affected

- instawp String locator: up to 2.5.0
- instawp string_locator: up to 2.5.0

## Every score

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

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/10a36e37-4188-403f-9b17-d7e79b8b8a6d?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/string-locator/trunk/editor.php#L59> (broken-link)
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2759486%40string-locator&new=2759486%40string-locator&sfp_email=&sfph_mail=> (patch)
- <https://www.wordfence.com/vulnerability-advisories/#CVE-2022-2434> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-2434 · Whole record: https://cve.day/CVE-2022-2434.json · Rebuilt by cve.day 2026-11-25T22:58:14.695Z
