Cyber Resilience

CVE-2024-7257

Critical

Published: 03 August 2024

Published
03 August 2024
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0799 92.3th percentile
Risk Priority 24 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-7257 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Wordpress (inferred from references). Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 7.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

The vulnerability CVE-2024-7257 is an arbitrary file upload flaw (CWE-434) in the YayExtra – WooCommerce Extra Product Options plugin for WordPress. It is caused by missing file type validation inside the handle_upload_file function and affects all versions through 1.3.7, earning a CVSS 3.1 score of 9.8.

Unauthenticated attackers can exploit the issue over the network with no credentials or user interaction required. Successful exploitation permits upload of arbitrary files to the web server, which can be leveraged for remote code execution and full site compromise.

Public references include the vulnerable code paths in ProductPage.php, the corrective changeset committed to the plugin repository, the official WordPress plugin page, and a detailed Wordfence advisory; these sources indicate that site owners should apply the vendor-supplied update that resolves the validation gap.

EPSS remains flat at 0.0799 with no material increase after disclosure.

EU & UK References

Vulnerability details

The YayExtra – WooCommerce Extra Product Options plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the handle_upload_file function in all versions up to, and including, 1.3.7. This makes it possible for unauthenticated…

more

attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

Wordpress
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-434

Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.

addresses: CWE-434

Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.

addresses: CWE-434

Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.

addresses: CWE-434

Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.

References