# CVE-2017-9781: check-mk-agent: A cross site scripting (XSS) vulnerability exists in Check_MK versions 1.4.0x prior to 1.4.0p6, allowing an unauthent...

CVE-2017-9781 is fixed in 6 products on 1 platform, first by check-mk-agent 1.2.8p16-1ubuntu0.2, released March 25, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2017-9781
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0145
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 21, 2017

## Description

A cross site scripting (XSS) vulnerability exists in Check_MK versions 1.4.0x prior to 1.4.0p6, allowing an unauthenticated remote attacker to inject arbitrary HTML or JavaScript via the _username parameter when attempting authentication to webapi.py, which is returned unencoded with content type text/html.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | check-mk-agent Ubuntu 18.04.6 LTS (bionic) | 1.2.8p16-1ubuntu0.2 | [check-mk-agent 1.2.8p16-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-check-mk-agent-1.2.8p16-1ubuntu0.2.md) | Mar 25, 2022 |
| Linux | check-mk-agent-logwatch Ubuntu 18.04.6 LTS (bionic) | 1.2.8p16-1ubuntu0.2 | [check-mk-agent-logwatch 1.2.8p16-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-check-mk-agent-logwatch-1.2.8p16-1ubuntu0.2.md) | Mar 25, 2022 |
| Linux | check-mk-config-icinga Ubuntu 18.04.6 LTS (bionic) | 1.2.8p16-1ubuntu0.2 | [check-mk-config-icinga 1.2.8p16-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-check-mk-config-icinga-1.2.8p16-1ubuntu0.2.md) | Mar 25, 2022 |
| Linux | check-mk-livestatus Ubuntu 18.04.6 LTS (bionic) | 1.2.8p16-1ubuntu0.2 | [check-mk-livestatus 1.2.8p16-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-check-mk-livestatus-1.2.8p16-1ubuntu0.2.md) | Mar 25, 2022 |
| Linux | check-mk-multisite Ubuntu 18.04.6 LTS (bionic) | 1.2.8p16-1ubuntu0.2 | [check-mk-multisite 1.2.8p16-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-check-mk-multisite-1.2.8p16-1ubuntu0.2.md) | Mar 25, 2022 |
| Linux | check-mk-server Ubuntu 18.04.6 LTS (bionic) | 1.2.8p16-1ubuntu0.2 | [check-mk-server 1.2.8p16-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-check-mk-server-1.2.8p16-1ubuntu0.2.md) | Mar 25, 2022 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
