Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-4285

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-4285
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:21 UTC · Revision 1

Source evidence

CVE-2021-4285

core-osv · Original source

Published 27 Dec 2022, 11:15 UTC

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.

osv:CVE-2021-4285
Complete source record
{
  "id": "e29b7f660d560d4c70299e03095440ee66bd98bdce30e114f82177beaf1736b8",
  "url": "https://osv.dev/vulnerability/CVE-2021-4285",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-4285",
    "summary": "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.",
    "evidence": "osv:CVE-2021-4285",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-4285",
      "aliases": [
        "CVE-2021-4285"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nagiosenterprises/ncpa",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9e06ef7e0738eb7ac6f8b5a832e0a679ab3630d6"
                },
                {
                  "fixed": "5abbcd7aa26e0fc815e6b2b0ffe1c15ef3e8fab5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nagios:nagios_cross_platform_agent:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.4.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5abbcd7aa26e0fc815e6b2b0ffe1c15ef3e8fab5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9e06ef7e0738eb7ac6f8b5a832e0a679ab3630d6"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.4.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.3.1",
            "v2.3.0",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.1.9",
            "v2.1.8",
            "v2.1.7",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.0.4",
            "v2.1.1",
            "v2.1.0",
            "v2.0.6",
            "v2.0.5",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.8.1",
            "v1.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4285.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:06.878760661Z",
      "provider": "osv",
      "references": [
        "https://github.com/NagiosEnterprises/ncpa/releases/tag/v2.4.0",
        "https://vuldb.com/?ctiid.216874",
        "https://vuldb.com/?id.216874",
        "https://github.com/NagiosEnterprises/ncpa/commit/5abbcd7aa26e0fc815e6b2b0ffe1c15ef3e8fab5",
        "https://github.com/NagiosEnterprises/ncpa/pull/834"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-4285",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384871,
  "published_at": "2022-12-27T11:15:10.48+00:00"
}