CVE-2022-45374 WordPress Yet Another Related Posts Plugin (YARPP) plugin <= 5.30.4 - Local File Inclusion

High 7.7 Published Updated

Attackers can exploit a path traversal flaw in the YARPP WordPress plugin to include arbitrary local files, potentially leading to code execution or data disclosure.

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-2022-45374?

CVE-2022-45374 is a high-severity path traversal vulnerability in YARPP, published on 17 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in YARPP allows PHP Local File Inclusion.This issue affects YARPP: from n/a through 5.30.4.

Weakness: CWE-22

Which versions are affected by CVE-2022-45374?

It affects 1 product.

Products include Yarpp Yet Another Related Posts Plugin.

How do I fix CVE-2022-45374?

No fix has been published for CVE-2022-45374 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-2022-45374 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45374 exists.

Sources

Also known as GHSA-cjv7-w6rc-6cxq.

Is CVE-2022-45374 in your software?

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

Check your SBOMs for free