# CVE-2020-25205: The web console for Mimosa B5, B5c, and C5x firmware through 2.8.0.2 is vulnerable to stored XSS in the setbanner() function of /var/www/co…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-20T18:45:21.000Z
- Modified: 2026-06-17T03:06:34.763Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

The web console for Mimosa B5, B5c, and C5x firmware through 2.8.0.2 is vulnerable to stored XSS in the set_banner() function of /var/www/core/controller/index.php. An unauthenticated attacker may set the contents of the /mnt/jffs2/banner.txt file, stored on the device's filesystem, to contain arbitrary JavaScript. The file contents are then used as part of a welcome/banner message presented to unauthenticated users who visit the login page for the web console. This vulnerability does not occur in the older 1.5.x firmware versions.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mimosa b5_firmware: up to 2.8.0.3
- mimosa b5c_firmware: up to 2.8.0.3
- mimosa c5c_firmware: up to 2.8.0.3

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://labs.f-secure.com/advisories/mimosa-ptp-devices-multiple-vulnerabilities/> (exploit, third-party-advisory)
- <https://labs.f-secure.com/advisories/> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-25205](https://www.cve.org/CVERecord?id=CVE-2020-25205), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-25205](https://nvd.nist.gov/vuln/detail/CVE-2020-25205), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-25205 · Whole record: https://cve.day/CVE-2020-25205.json · Rebuilt by cve.day 2026-11-25T22:57:58.245Z
