Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-5283

ViewVC before versions 1.1.28 and 1.2.1 has a XSS vulnerability in CVS show_subdir_lastmod support. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a CVS repository exposed by an otherwise trusted ViewVC instance that also has the `show_subdir_lastmod` feature enabled. The attack vector involves files with unsafe names (names that, when embedded into an HTML stream, would cause the browser to run unwanted code), which themselves can be challenging to create. This vulnerability is patched in versions 1.2.1 and 1.1.28.

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

Source evidence

CVE-2020-5283

core-osv · Original source

Published 3 Apr 2020, 00:15 UTC

ViewVC before versions 1.1.28 and 1.2.1 has a XSS vulnerability in CVS show_subdir_lastmod support. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a CVS repository exposed by an otherwise trusted ViewVC instance that also has the `show_subdir_lastmod` feature enabled. The attack vector involves files with unsafe names (names that, when embedded into an HTML stream, would cause the browser to run unwanted code), which themselves can be challenging to create. This vulnerability is patched in versions 1.2.1 and 1.1.28.

osv:CVE-2020-5283
Complete source record
{
  "id": "27c69d0734e0b54b86467e48ee58ad43fc249d29c28061f5ac4ade5fd45d193e",
  "url": "https://osv.dev/vulnerability/CVE-2020-5283",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-5283",
    "summary": "ViewVC before versions 1.1.28 and 1.2.1 has a XSS vulnerability in CVS show_subdir_lastmod support. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a CVS repository exposed by an otherwise trusted ViewVC instance that also has the `show_subdir_lastmod` feature enabled. The attack vector involves files with unsafe names (names that, when embedded into an HTML stream, would cause the browser to run unwanted code), which themselves can be challenging to create. This vulnerability is patched in versions 1.2.1 and 1.1.28.",
    "evidence": "osv:CVE-2020-5283",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2020-5283",
      "aliases": [
        "CVE-2020-5283",
        "GHSA-xpxf-fvqv-7mfg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/viewvc/viewvc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c8afb4d7e69a5ee3ffdf75f7f039a04df8843649"
                },
                {
                  "introduced": "3ab6e43ddb3096749c0de4706b8514486c8ba92f"
                },
                {
                  "fixed": "4857473f6961e4eddffdf72571d61e63134d104b"
                },
                {
                  "fixed": "ad0f966e9a997b17d853a6972ea283d4dcd70fa8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:viewvc:viewvc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.1.28"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:viewvc:viewvc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.2.0"
                      },
                      {
                        "fixed": "1.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ad0f966e9a997b17d853a6972ea283d4dcd70fa8"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.2.0",
            "1.1.27",
            "1.1.26",
            "1.1.25"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5283.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:28.648866407Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2Q2STF2MKT24HXZ3YZIU7CN6F6QM67I5/",
        "https://github.com/viewvc/viewvc/issues/211",
        "https://github.com/viewvc/viewvc/commit/ad0f966e9a997b17d853a6972ea283d4dcd70fa8",
        "https://github.com/viewvc/viewvc/security/advisories/GHSA-xpxf-fvqv-7mfg"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-5283",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384348,
  "published_at": "2020-04-03T00:15:11.943+00:00"
}