Skip to main content

Sunshine Photo Cart CVE-2022-40692

HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2023-02-02 audit@patchstack.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host malicious CSRF page or link
  2. Delivery
    Lure authenticated WordPress user to visit
  3. Exploit
    Browser sends forged request with session cookies
  4. Execution
    Vulnerable plugin endpoint processes action
  5. Impact
    Unauthorized state change in Sunshine Photo Cart

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires tricking a user who is authenticated to the target WordPress site (typically an administrator or privileged account) into visiting an attacker-controlled page or clicking a crafted link while their session is active - UI:R in the vector confirms this mandatory user interaction. The underlying flaw is a missing or improperly validated anti-CSRF nonce on a Sunshine Photo Cart endpoint in versions <= 2.9.13, though the exact endpoint and the action it performs are not described in the available sources. Limiting factors: the attack fails without an authenticated victim, depends on social engineering to deliver the request, and is bounded to sites running the vulnerable plugin version; no attacker authentication is needed (PR:N).

Impact

This is a high-CVSS (8.8) but modest real-world-priority CSRF (CWE-352) in the Sunshine Photo Cart WordPress plugin for versions <= 2.9.13. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) shows network reach with no attacker privileges but mandatory user interaction (UI:R), which is the defining constraint of CSRF - the attack cannot succeed without luring an authenticated victim. Signals are mutually consistent and point to lower urgency than the 8.8 suggests: EPSS is only 0.10% (28th percentile), the CVE is NOT in CISA KEV, and no SSVC/automatable data is provided. Exploitation status: no public exploit identified at time of analysis beyond the Patchstack advisory reference, which is not verified as working exploit code. The vuln.today decision label is 'this_week,' indicating routine-but-not-emergency patching. Note a tension worth flagging: Patchstack rated C:H/I:H/A:H, but the description does not state what action the forged request performs, so the 'High' triple-impact rating is not substantiated by the available text - the trigger and resulting action are not described in the available sources. Treat this as a scheduled-patch item, not an active-exploitation emergency.

Exploit ScenarioDerived

An attacker crafts a malicious web page or email link that silently submits a forged request to a target WordPress site running a vulnerable Sunshine Photo Cart version. If a logged-in administrator or privileged user visits the page while authenticated, their browser sends the forged request with valid session cookies, causing an unauthorized plugin action to execute on their behalf. No public, verified exploit code is identified; only a Patchstack advisory reference exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Cross-site request forgery in the Sunshine Photo Cart WordPress plugin (all versions up to and including 2.9.13) lets an attacker-hosted page silently submit a forged request through a logged-in victim's browser, causing the plugin to perform an action the victim did not intend. Exploitation requires an authenticated victim - typically a site administrator or other privileged account - to visit an attacker-controlled page or follow a crafted link while their session is live, and the missing or improperly validated anti-CSRF token means the request is accepted without proof of intent. There is no KEV listing and no public exploit identified at time of analysis, EPSS is low at 0.10% (28th percentile), and the vendor advisory is the primary reference; Patchstack scores it 8.8 while our assessment lands at 4.3 (integrity-only impact, mandatory user interaction).

RemediationAI

Update the Sunshine Photo Cart plugin to a release later than 2.9.13 - the advisory covers versions up to and including 2.9.13, and the supplied data does not state an exact patched build number, so verify the currently published version in the WordPress plugin directory or the Patchstack advisory (https://patchstack.com/database/vulnerability/sunshine-photo-cart/wordpress-sunshine-photo-cart-plugin-2-9-13-cross-site-request-forgery-csrf-vulnerability?_s_id=cve) before deploying, and stage the update where the plugin is heavily customised. The advisory documents no specific workaround for the vulnerable endpoint, and because the affected endpoint and action are not identified in the available sources, no targeted compensating control (such as disabling a named feature or blocking a specific route) can be prescribed from this data; if the update cannot be applied immediately, the practical interim options are to deactivate the plugin where its functionality is not required and to confine privileged browsing on the affected site to trusted destinations, accepting that this reduces rather than removes exposure. Scheduling follows the this_week decision label rather than an emergency response: EPSS is 0.10% (28th percentile) and there is no KEV listing or public exploit identified at time of analysis.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-352 (cross-site request forgery) in a WordPress plugin, a class of bug rooted in the absence or incorrect validation of a per-request anti-CSRF nonce on a state-changing endpoint. WordPress plugins commonly protect administrative actions by pairing a capability check with a nonce check (check_admin_referer / wp_verify_nonce); when the nonce check is missing or the request handler can be reached without it, a third-party site can craft a request that the victim's browser sends with the victim's cookies, and the server cannot distinguish it from a legitimate action. The CPE cpe:2.3:a:sunshinephotocart:sunshine_photo_cart:*:*:*:*:*:wordpress:*:* confirms the affected component is the Sunshine Photo Cart plugin for the WordPress platform, versions through 2.9.13. The specific endpoint and the state-changing action it performs are not described in the available sources, so the exact integrity consequence cannot be pinned down from this data; the assessed vector (UI:R, PR:N, no confidentiality or availability impact, limited integrity impact) reflects that a privileged victim must be induced to make the request, not that the trigger mechanism is timing- or race-dependent.

Know when Sunshine Photo Cart gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 4.3 MEDIUM

CSRF needs no attacker privileges (PR:N) but requires an authenticated victim to act (UI:R); since the forced action is not described, impact is conservatively bounded to limited integrity with no confirmed confidentiality or availability loss.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Nov 10, 2026 - 12:41 vuln.today
v1 - CVSS changed
Severity Changed
Nov 10, 2026 - 12:22 NVD
MEDIUM HIGH
CVSS changed
Nov 10, 2026 - 12:22 NVD
5.4 (MEDIUM) 8.8 (HIGH)
CVE Published
Feb 02, 2023 - 21:22 cve.org
MEDIUM 5.4

DescriptionNVD

Cross-Site Request Forgery (CSRF) vulnerability in WP Sunshine Sunshine Photo Cart plugin <= 2.9.13 versions.

Executive ViewAI

Why It Matters

CVE-2022-40692 is a high-severity cross-site request forgery flaw in the Sunshine Photo Cart WordPress plugin (versions up to 2.9.13) that could allow an attacker to silently perform actions on behalf of an authenticated administrative user. The vulnerability requires user interaction and a logged-in session, and while no active exploitation has been identified, the potential for unauthorized changes to photo cart settings or data poses a risk to site integrity and customer trust.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include deploying a WAF rule to detect and block CSRF attempts, enforcing SameSite cookie attributes, restricting administrative access to trusted networks, and educating administrators about phishing risks. If feasible, disable the plugin until a patch is available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 72% exploitable
Prevalence
Low
niche photography e-commerce WordPress plugin, limited install base
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Affected Products (CPE)NVD

cpe:2.3:a:sunshinephotocart:sunshine_photo_cart:*:*:*:*:*:wordpress:*:*
CVE-2024-30194 HIGH POC
7.1 Mar 27

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in sunshinephotocart

CVE-2024-43971 HIGH POC
7.1 Sep 18

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in sunshinephotocart

CVE-2026-16561 HIGH POC
7.5 Aug 05

Unauthenticated information disclosure in the Sunshine Photo Cart WordPress plugin (all versions before 3.6.12) allows a

CVE-2025-31084 CRITICAL
9.8 Apr 01

Deserialization of Untrusted Data vulnerability in sunshinephotocart Sunshine Photo Cart allows Object Injection.4.10. R

CVE-2026-85037 MEDIUM POC
5.3 Sep 09

Price manipulation via IDOR in Sunshine Photo Cart WordPress plugin before 3.7 allows unauthenticated shoppers to comple

CVE-2026-108069 MEDIUM POC
5.3 Oct 14

Comment injection in Sunshine Photo Cart before 3.7.4 lets unauthenticated remote attackers submit comments to restricte

CVE-2025-5482 HIGH
8.8 Jun 04

The Sunshine Photo Cart plugin for WordPress (versions ≤3.4.11) contains an improper key validation vulnerability in its

CVE-2026-93617 HIGH
7.2 Oct 05

PHP object injection in the WordPress plugin Sunshine Photo Cart (all versions through 3.7.1) allows an attacker who alr

CVE-2024-47314 HIGH
7.1 Nov 01

Missing Authorization vulnerability in sunshinephotocart Sunshine Photo Cart sunshine-photo-cart allows Exploiting Incor

CVE-2026-57703 MEDIUM
6.3 Jul 23

Broken access control in Sunshine Photo Cart WordPress plugin (versions <= 3.6.10.1) enables subscriber-level authentica

CVE-2026-42776 MEDIUM
6.3 May 25

Broken access control in the Sunshine Photo Cart WordPress plugin (versions through 3.6.7) allows authenticated low-priv

CVE-2024-30221 MEDIUM
5.4 Mar 28

Deserialization of Untrusted Data vulnerability in sunshinephotocart Sunshine Photo Cart sunshine-photo-cart.1.1. Rated

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy