# CVE-2021-4285: Nagios NCPA tail.html cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/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): 1.83%, higher than 79% of CVEs (2026-12-01)
- Published: 2022-12-27T10:18:09.550Z
- Modified: 2026-06-17T04:19:25.453Z
- Weaknesses: CWE-79
- Assigned by: VulDB

## Description

A vulnerability classified as problematic was found in Nagios NCPA. This vulnerability affects unknown code of the file agent/listener/templates/tail.html. The manipulation of the argument name leads to cross site scripting. The attack can be initiated remotely. Upgrading to version 2.4.0 is able to address this issue. The name of the patch is 5abbcd7aa26e0fc815e6b2b0ffe1c15ef3e8fab5. It is recommended to upgrade the affected component. VDB-216874 is the identifier assigned to this vulnerability.

(As written by CVE List.)

## Affected

- Nagios NCPA: n/a
- nagios nagios_cross_platform_agent: before 2.4.0

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- 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`

## References

- <https://vuldb.com/?id.216874> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.216874> (permissions-required, signature, third-party-advisory)
- <https://github.com/NagiosEnterprises/ncpa/pull/834> (issue-tracking, patch, third-party-advisory)
- <https://github.com/NagiosEnterprises/ncpa/commit/5abbcd7aa26e0fc815e6b2b0ffe1c15ef3e8fab5> (patch, third-party-advisory)
- <https://github.com/NagiosEnterprises/ncpa/releases/tag/v2.4.0> (patch, release-notes, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-4285 · Whole record: https://cve.day/CVE-2021-4285.json · Rebuilt by cve.day 2026-11-25T22:58:08.011Z
