CVE-2023-5099 HTML filter and csv-file search <= 2.7 - Authenticated (Contributor+) Local File Inclusion via Shortcode

High 8.8 Published Updated

Authenticated contributors can exploit a Local File Inclusion vulnerability in the HTML filter and csv-file search plugin to execute arbitrary PHP code or read sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-5099?

CVE-2023-5099 is a high-severity path traversal vulnerability in jonashjalmarsson HTML filter and csv-file search, published on 31 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The HTML filter and csv-file search plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 2.7 via the 'src' attribute of the 'csvsearch' shortcode. This allows authenticated attackers, with contributor-level permissions and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

Weakness: CWE-552, CWE-98

Which versions are affected by CVE-2023-5099?

It affects 1 product.

Products include Jonashjalmarsson Html Filter and Csv-File Search.

How do I fix CVE-2023-5099?

No fix has been published for CVE-2023-5099 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-5099 being exploited?

There is no known exploitation of CVE-2023-5099 in the wild and no public exploit code.

Sources

Also known as GHSA-74vw-m9r6-jj7c.

Is CVE-2023-5099 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free