CVE-2026-108069 in Sunshine Photo Cart Plugininfo

Summary

by MITRE • 10/14/2026

The Sunshine Photo Cart WordPress plugin before 3.7.4 does not check whether a visitor is permitted to access a restricted gallery before accepting comment submissions for its images, while it does perform that check when displaying comments, allowing unauthenticated attackers to inject attacker-chosen content with a chosen author name and email into galleries the owner has restricted (password-protected, email-gated, private, account-only or expired).

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 10/14/2026

The vulnerability identified in Sunshine Photo Cart versions prior to 3.7.4 represents a critical authentication bypass within the WordPress plugin ecosystem, specifically affecting how user-generated content is processed for protected media galleries. This flaw stems from an inconsistent implementation of access control checks during different stages of request handling. While the application correctly verifies whether a visitor has valid credentials or permissions before rendering comments on a restricted gallery page, it fails to perform this same verification when processing new comment submissions via API endpoints or form handlers. This discrepancy creates a window where unauthenticated actors can interact with protected resources without meeting the security requirements established by the site administrator.

From a technical perspective, the root cause is classified as CWE-284 Improper Access Control and CWE-798 Use of Hard-coded Credentials if authentication mechanisms are bypassed through logic flaws rather than credential theft. The plugin’s architecture separates the display logic from the input processing logic without ensuring parity in security checks between them. When a user attempts to submit a comment, the backend accepts the payload based on structural validity but neglects to validate the requester's authorization status against the gallery's restriction settings. This allows an attacker to inject arbitrary content into galleries that are configured as password-protected, email-gated, private, or restricted to logged-in accounts only. The attack does not require complex exploitation techniques; it relies simply on sending a properly formatted HTTP POST request with malicious payload data directly to the comment submission endpoint associated with the target gallery ID.

The operational impact of this vulnerability is significant for website owners who rely on these galleries for sensitive content, such as client portfolios, private family photos, or commercial assets requiring exclusive access. An unauthenticated attacker can inject spam links, phishing URLs, defacement text, or malicious scripts into the comment section of any restricted gallery. Because the injection occurs in a context where legitimate users expect to see comments from verified visitors, this undermines trust and potentially exposes site administrators to further attacks if they view these injected comments without sanitization. Furthermore, since the attacker can choose the author name and email address displayed with the malicious content, it facilitates social engineering attacks by impersonating trusted individuals or entities within the community associated with the gallery.

This vulnerability aligns with MITRE ATT&CK technique T1059 Command and Scripting Interpreter if JavaScript is injected for stored cross-site scripting (XSS), or T1187 Forced Authentication if used to bypass access controls, though primarily it falls under privilege escalation via logic flaws in web application frameworks. The ability to write data into a restricted area without authentication constitutes an unauthorized information disclosure vector as well, depending on the sensitivity of the injected content and its visibility to other users who do have proper access.

Mitigation strategies must focus on immediate patching and defensive coding practices. Site administrators should update Sunshine Photo Cart to version 3.7.4 or later immediately upon availability, as this release addresses the missing authorization checks in the comment submission handler. For organizations unable to apply patches instantly due to compatibility concerns with other plugins, temporary mitigations include disabling public commenting on sensitive galleries via WordPress settings if possible, or implementing a Web Application Firewall (WAF) rule that restricts access to the specific AJAX endpoints associated with photo cart comments to authenticated users only. Developers reviewing similar codebases should ensure that every input processing function includes an explicit check for user capabilities and object ownership before allowing modifications to restricted resources, adhering strictly to the principle of least privilege and consistent security policy enforcement across all application entry points.

Responsible

WPScan

Reservation

10/09/2026

Disclosure

10/14/2026

Moderation

accepted

EPSS

0.00126

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!