CVE-2023-35881 WordPress WooCommerce One Page Checkout plugin <= 2.3.0 - Local File Inclusion vulnerability

High 7.6 Published Updated

Attackers can exploit a path traversal flaw in the WooCommerce One Page Checkout plugin to include arbitrary local files, potentially leading to code execution.

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-35881?

CVE-2023-35881 is a high-severity path traversal vulnerability in WooCommerce One Page Checkout, 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 WooCommerce WooCommerce One Page Checkout allows PHP Local File Inclusion.This issue affects WooCommerce One Page Checkout: from n/a through 2.3.0.

Weakness: CWE-22

Which versions are affected by CVE-2023-35881?

How do I fix CVE-2023-35881?

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

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

Sources

Also known as GHSA-9pwv-pqg3-7wh4.

Is CVE-2023-35881 in your software?

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

Check your SBOMs for free