Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-3874: CWE-639 Authorization Bypass Through User-Controlled Key in mra13 WordPress Simple Shopping Cart

0
Medium
VulnerabilityCVE-2025-3874cvecve-2025-3874cwe-639
Published: Thu May 01 2025 (05/01/2025, 11:11:41 UTC)
Source: CVE
Vendor/Project: mra13
Product: WordPress Simple Shopping Cart

Description

The WordPress Simple Shopping Cart plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.3 due to lack of randomization of a user controlled key. This makes it possible for unauthenticated attackers to access customer shopping carts and edit product links, add or delete products, and discover coupon codes.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 13:59:11 UTC

Technical Analysis

CVE-2025-3874 identifies a vulnerability in the WordPress Simple Shopping Cart plugin developed by mra13, affecting all versions up to and including 5.1.3. The root cause is an Insecure Direct Object Reference (IDOR) stemming from the lack of randomization in a user-controlled key used to access shopping cart data. This key is predictable or guessable, allowing unauthenticated attackers to bypass authorization controls and directly access other users' shopping carts. Attackers can view and modify the contents of these carts, including editing product links, adding or deleting products, and discovering coupon codes intended for legitimate customers. The vulnerability does not require any authentication or user interaction, making it easier to exploit remotely over the network. The CVSS v3.1 base score is 6.5, reflecting medium severity, with the vector indicating network attack vector, low attack complexity, no privileges required, no user interaction, and impacts on confidentiality and integrity but not availability. Although no known exploits have been reported in the wild, the vulnerability poses a significant risk to e-commerce operations relying on this plugin. The lack of patch links suggests a fix may not yet be publicly available, so mitigation strategies are critical. This vulnerability falls under CWE-639, which relates to authorization bypass through user-controlled keys, a common issue in web applications that fail to properly validate access rights to objects referenced by user input.

Potential Impact

The primary impact of CVE-2025-3874 is unauthorized access and modification of customer shopping carts on affected WordPress sites. This can lead to several adverse outcomes for organizations worldwide: 1) Confidentiality breaches, as attackers can view sensitive customer data such as cart contents and coupon codes. 2) Integrity violations, since attackers can alter product selections, prices, or coupon usage, potentially causing financial loss or fraudulent transactions. 3) Erosion of customer trust and brand reputation due to unauthorized manipulation of shopping experiences. 4) Potential financial impact from fraudulent orders or coupon abuse. While availability is not directly affected, the indirect consequences of data manipulation can disrupt business operations and customer satisfaction. Organizations running e-commerce sites with this plugin are at risk of exploitation by unauthenticated remote attackers, increasing the threat surface. The absence of known exploits in the wild currently limits immediate widespread damage but does not reduce the urgency of addressing the vulnerability. Attackers could automate exploitation to target multiple sites, especially those with high traffic or valuable products, amplifying the impact.

Mitigation Recommendations

To mitigate CVE-2025-3874, organizations should take the following specific actions: 1) Immediately check for and apply any official patches or updates from the plugin vendor once available. 2) If patches are not yet released, consider temporarily disabling the Simple Shopping Cart plugin to prevent exploitation. 3) Implement web application firewall (WAF) rules to detect and block suspicious requests attempting to manipulate cart keys or access unauthorized cart data. 4) Review and enhance access control mechanisms in custom code or plugins to ensure that user-controlled keys are randomized, validated, and properly authorized before granting access to sensitive objects. 5) Monitor logs for unusual activity related to cart access or modifications, including repeated attempts to guess cart keys. 6) Educate development teams on secure coding practices to avoid IDOR vulnerabilities, including the use of unpredictable identifiers and server-side authorization checks. 7) Consider additional security controls such as rate limiting and CAPTCHA to reduce automated exploitation attempts. 8) Communicate with customers about potential risks and encourage vigilance for suspicious activity in their accounts. These targeted mitigations go beyond generic advice by focusing on immediate protective measures and long-term secure development practices specific to this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-04-22T16:33:30.164Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9839c4522896dcbece80

Added to database: 5/21/2025, 9:09:13 AM

Last enriched: 2/27/2026, 1:59:11 PM

Last updated: 3/28/2026, 9:16:51 AM

Views: 59

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses