Description
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).
Published: 2026-10-14
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthenticated content injection into protected galleries
Action: Patch now
AI Analysis

Impact

The Sunshine Photo Cart plugin for WordPress accepts comment submissions through the sunshine_modal_add_comment function without verifying that the user has permission to access the targeted gallery. This missing permission check is a CWE-345 flaw (Missing Permissions Checks). As a result, unauthenticated users can submit arbitrary comment payloads, including author name and e‑mail, to galleries that site owners have protected with passwords, email gating, private or account‑only settings, or by expiration. The inserted comments are displayed on the gallery pages, allowing attackers to add content to restricted galleries.

Affected Systems

Any WordPress website running Sunshine Photo Cart plugin versions earlier than 3.7.4 is affected. The plugin’s comment submission handler, sunshine_modal_add_comment(), is the entry point for the vulnerability; no other product version or plugin is known to share this flaw.

Risk and Exploitability

The vulnerability has a CVSS score of 5.3, indicating moderate severity. Its EPSS score is less than 1%, reflecting a low likelihood of exploitation in the wild, and it is not listed in the CISA KEV catalog. The likely attack vector involves directing a crafted HTTP request to the sunshine_modal_add_comment endpoint while the target site has a restricted gallery. Because no authentication is required, attackers can freely submit arbitrary comment payloads; the plugin’s comment display routine then inadvertently reveals the injected content on the gallery pages.

Generated by OpenCVE AI on October 16, 2026 at 00:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Sunshine Photo Cart to version 3.7.4 or later, where the plugin now checks gallery permissions before accepting comment submissions.
  • If an upgrade is not feasible immediately, disable or block the sunshine_modal_add_comment endpoint using a web‑application firewall or server rule to prevent unauthenticated comment posting.
  • Configure the plugin to allow comment submission only for authenticated users, or disable comments entirely on restricted galleries.

Generated by OpenCVE AI on October 16, 2026 at 00:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-345
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


Wed, 14 Oct 2026 06:45:00 +0000

Type Values Removed Values Added
Description 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).
Title Sunshine Photo Cart < 3.7.4 - Unauthenticated Content Injection via sunshine_modal_add_comment()
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-14T13:42:22.080Z

Reserved: 2026-10-09T11:36:03.028Z

Link: CVE-2026-108069

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T07:17:02.407

Modified: 2026-10-14T16:14:02.800

Link: CVE-2026-108069

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T00:45:17Z

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity