CVE-2026-108069

Sunshine Photo Cart < 3.7.4 - Unauthenticated Content Injection via sunshine_modal_add_comment()

Published Oct 14, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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).

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

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.

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 14, 2026, 1:42 PM
Reserved
Oct 9, 2026, 11:36 AM
Status
Deferred
Published
Oct 14, 2026, 7:17 AM
Modified
Oct 14, 2026, 4:14 PM