CVE-2024-12040: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in wpwax Product Carousel Slider & Grid Ultimate for WooCommerce
The Product Carousel Slider & Grid Ultimate for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.9.10 via the 'theme' attribute of the `wcpcsu` shortcode. This makes it possible for authenticated attackers, with Contributor-level access 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.
AI Analysis
Technical Summary
CVE-2024-12040 is a Local File Inclusion vulnerability in the Product Carousel Slider & Grid Ultimate for WooCommerce plugin for WordPress, affecting all versions up to 1.9.10. The flaw exists in the handling of the 'theme' attribute of the wcpcsu shortcode, which does not properly control the filename for include/require statements. This improper control allows authenticated users with Contributor-level privileges or higher to include arbitrary files, including those uploaded as images or other file types, leading to remote code execution on the server.
Potential Impact
Successful exploitation enables attackers with Contributor-level access to execute arbitrary PHP code on the server, bypass access controls, and obtain sensitive information. The vulnerability has a high CVSS score of 8.8, reflecting its potential for confidentiality, integrity, and availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the wcpcsu shortcode usage. Avoid uploading untrusted files that could be included via this vulnerability.
CVE-2024-12040: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in wpwax Product Carousel Slider & Grid Ultimate for WooCommerce
Description
The Product Carousel Slider & Grid Ultimate for WooCommerce plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.9.10 via the 'theme' attribute of the `wcpcsu` shortcode. This makes it possible for authenticated attackers, with Contributor-level access 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-12040 is a Local File Inclusion vulnerability in the Product Carousel Slider & Grid Ultimate for WooCommerce plugin for WordPress, affecting all versions up to 1.9.10. The flaw exists in the handling of the 'theme' attribute of the wcpcsu shortcode, which does not properly control the filename for include/require statements. This improper control allows authenticated users with Contributor-level privileges or higher to include arbitrary files, including those uploaded as images or other file types, leading to remote code execution on the server.
Potential Impact
Successful exploitation enables attackers with Contributor-level access to execute arbitrary PHP code on the server, bypass access controls, and obtain sensitive information. The vulnerability has a high CVSS score of 8.8, reflecting its potential for confidentiality, integrity, and availability impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and monitor for suspicious activity related to the wcpcsu shortcode usage. Avoid uploading untrusted files that could be included via this vulnerability.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-02T17:15:51.180Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e2bb7ef31ef0b5971ce
Added to database: 2/25/2026, 9:48:27 PM
Last enriched: 4/9/2026, 7:19:50 PM
Last updated: 4/12/2026, 5:16:13 PM
Views: 19
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.