vulnerability

WordPress Plugin: string-locator: CVE-2022-0493: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Severity
4
CVSS
(AV:N/AC:L/Au:S/C:P/I:N/A:N)
Published
Mar 1, 2022
Added
May 15, 2025
Modified
Jun 24, 2025

Description

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.

Solution

string-locator-plugin-cve-2022-0493
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.