WordPress security changelog
MEDIUM CVE-2022-4301 Modified

Sunshine Photo Cart: Cross-site scripting

Sunshine Photo Cart is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.

CVE / CNA score 6.1 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score 6.1 CVSS 3.1 · nvd@nist.gov
Component
Sunshine Photo Cart
Plugin slug
sunshine-photo-cart
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Jan 09, 2023
Weakness
Not assigned

This CVE was published Jan 09, 2023 and is one of 23 known issues for this plugin.

Patch or disable the affected component.

Update Sunshine Photo Cart to a release outside the affected range, or disable and remove it until a fixed version is available.

Technical description

The Sunshine Photo Cart WordPress plugin before 2.9.15 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary and upstream sources