Plugins · string-locator · data as of 2026-11-29
Is String locator safe? Known vulnerabilities and latest version
- Latest version
- 2.6.8
- Last updated
- 2026-09-29
- Active installs
- 100,000+
- Known issues on record
- 5
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.5 · PHP 7.0+
Find and edit code or texts in your themes and plugins — by InstaWP
What to do
- Update to the latest version (2.6.8). Anything older than 2.6.8 has at least one known issue listed below. 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 string-locator --field=version shows what you run; wp plugin update string-locator updates it.
Check your version
Running more than one plugin? Paste your whole plugin list and check them all at once.
Known vulnerabilities
5 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.
high 8.8 CVE-2026-97188 · published 2026-10-07
Arbitrary file deletion in String locator (older than 2.6.8)
- Affected
- older than 2.6.8
- Fixed in
- 2.6.8
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record · score by CISA ADP
Details from the advisory
The String locator WordPress plugin before 2.6.8 does not restrict the classes allowed when deserializing the content of a database row saved through its database editor, allowing unauthenticated attackers to store a serialized PHP object that is instantiated when an administrator later opens and saves that row. If a suitable POP chain is present via another installed String locator WordPress plugin before 2.6.8 or , this can lead to arbitrary file deletion, sensitive data disclosure or remote code execution.
high 8.8 CVE-2024-10936 · published 2025-01-21
PHP object injection in String locator (2.6.6 and older)
- Affected
- 2.6.6 and older
- Fixed in
- 2.6.7 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record · score by Wordfence
Details from the advisory
The String locator plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 2.6.6 via deserialization of untrusted input in the 'recursive_unserialize_replace' function. This makes it possible for unauthenticated attackers to inject a PHP Object. No known POP chain is present in the vulnerable software. 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. An administrator must perform a search and replace action to trigger the exploit.
NVD CVE-2024-10936Wordfence advisoryCode change (fix)Plugin source
medium 6.1 CVE-2023-6987 · published 2024-08-24
Reflected cross-site scripting (XSS) in String locator (2.6.5 and older)
- Affected
- 2.6.5 and older
- Fixed in
- 2.6.6 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record · score by Wordfence
Details from the advisory
The String locator plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'sql-column' parameter in all versions up to, and including, 2.6.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. This required WP_DEBUG to be enabled in order to be exploited.
high 8.8 CVE-2022-2434 · published 2022-09-06
PHP object injection in String locator (2.5.0 and older)
- Affected
- 2.5.0 and older
- Fixed in
- 2.6.0 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record · score by NVD
Details from the advisory
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.
NVD CVE-2022-2434Wordfence advisoryCode change (fix)Wordfence advisoryPlugin source
medium 4.9 CVE-2022-0493 · published 2022-03-28
Path traversal / file read in String locator (older than 2.5.0)
- Affected
- older than 2.5.0
- Fixed in
- 2.5.0
- Access needed (per CVSS)
- Needs an admin-level account
- Range from
- NVD analysis · score by NVD
Details from the advisory
The String locator WordPress plugin before 2.5.0 does not properly validate the path of the files to be searched, allowing high privilege users such as admin to query arbitrary files on the web server via a path traversal vector. Furthermore, due to a flaw in the search, allowing a pattern to be provided, which will be used to output the relevant matches from the matching file, all content of the file can be disclosed.
Recent activity
- 2026-09-29 — latest release on wordpress.org (2.6.8).
- 2026-10-07 — Arbitrary file deletion disclosed (CVE-2026-97188), fixed in 2.6.8.
- 2025-01-21 — PHP object injection disclosed (CVE-2024-10936), fixed in 2.6.7.
- 2024-08-24 — Reflected cross-site scripting (XSS) disclosed (CVE-2023-6987), fixed in 2.6.6.
Get an email when String locator has a new vulnerability
Free. One email when a new String locator issue is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Closed on wordpress.org
- Check your whole plugin list
Types found in this plugin: PHP object injection (2) · Arbitrary file deletion (1) · Cross-site scripting (XSS) (1) · Path traversal and file read (1)
Questions about String locator
Is String locator safe to use?
No known unpatched vulnerabilities in the latest version (2.6.8). As of 2026-11-29. 5 issues are on record for older versions; version 2.6.8 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep String locator on the latest version (2.6.8) and remove it if you do not use it.
Which versions of String locator are vulnerable?
Known issues on record (newest first): Arbitrary file deletion (older than 2.6.8, fixed in 2.6.8); PHP object injection (2.6.6 and older, fixed in 2.6.7); Reflected cross-site scripting (XSS) (2.6.5 and older, fixed in 2.6.6); PHP object injection (2.5.0 and older, fixed in 2.6.0); Path traversal / file read (older than 2.5.0, fixed in 2.5.0). The full list with sources is on this page.
What is the latest version of String locator?
2.6.8, according to wordpress.org (last updated 2026-09-29). It has 100,000+ active installs.
What should I do if my String locator is out of date?
Take a backup, then update it from Dashboard > Updates (or run wp plugin update string-locator). 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/string-locator (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/string-locator"><img src="https://laskyr.com/plugins/string-locator/badge.svg" alt="String locator vulnerability status"></a>