# CVE-2019-13407: Advan VD-1 has a reflected XSS vulnerability in page cgibin/ssi.cgi

> Reflected XSS in Advan VD-1 firmware allows attackers to execute arbitrary scripts via unescaped error messages in the ssi.cgi page.

- **Severity:** Medium 6.1 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 29 Aug 2019
- **Updated:** 16 Sep 2024
- **Also known as:** GHSA-452c-mgc8-crh5

## What is CVE-2019-13407?

CVE-2019-13407 is a medium-severity cross-site scripting vulnerability in AndroVideo Advan VD-1 firmware, published on 29 Aug 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

A XSS found in Advan VD-1 firmware versions up to 230. VD-1 responses a path error message when a requested resource was not found in page cgibin/ssi.cgi. It leads to a reflected XSS because the error message does not escape properly.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

## Which versions are affected by CVE-2019-13407?

It affects 3 products.


Products: Androvideo Vd 1 Firmware, Geovision Gv-Vd8700 Firmware, Geovision Gv-Vr360 Firmware.

## How do I fix CVE-2019-13407?

No fix has been published for CVE-2019-13407 yet. Limit exposure of the affected software until one is available.

## Is CVE-2019-13407 being exploited?

There is no known exploitation of CVE-2019-13407 in the wild and no public exploit code.

## Other vulnerabilities in AndroVideo Advan VD-1 firmware

- [CVE-2019-11064](https://insights.sbomify.com/CVE-2019-11064/): A vulnerability of remote credential disclosure was discovered in Advan VD-1 (critical 9.8)
- [CVE-2019-13405](https://insights.sbomify.com/CVE-2019-13405/): Advan VD-1 allows a remote user to enable Android Debug Bridge without any authentication (critical 9.8)
- [CVE-2019-13406](https://insights.sbomify.com/CVE-2019-13406/): Advan VD-1 has a vulnerability that allows remote arbitrary APK installation (high 7.5)
- [CVE-2019-13408](https://insights.sbomify.com/CVE-2019-13408/): Advan VD-1 allows users to download arbitrary files (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-13407 and fix it if it is affected.

What it is: CVE-2019-13407 is a medium-severity cross-site scripting vulnerability in AndroVideo Advan VD-1 firmware, published on 29 Aug 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2019-13407 in the wild and no public exploit code.

Affected product: AndroVideo Advan VD-1 firmware. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2019-13407/ (Markdown: https://insights.sbomify.com/CVE-2019-13407/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2019-13407
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2019-13407
- OSV: https://osv.dev/vulnerability/CVE-2019-13407

---
From sbomify Insights: https://insights.sbomify.com/CVE-2019-13407/
Summaries are generated and may contain mistakes; the official description above is the record.
