BREW-TEXLIVE-CVE-2026-120648 (CVE-2026-120648)

Vulnerability from osv_homebrew – Published: 2026-11-08 09:34 – Updated: 2026-11-11 09:32 – Source website
VLAI
Summary
CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment
Details

CGI versions before 5.00 for Perl allow HTML injection via text containing --> in comment.

Arguments are placed between without escaping, so text containing --> closes the comment early.

An application that passes request data to comment can be made to inject HTML into the page.


{
  "affected": [
    {
      "ecosystem_specific": {
        "fix": null,
        "range_state": "affected",
        "resource": "CGI",
        "resource_purl": "pkg:cpan/LEEJO/CGI@4.71",
        "upstream_fixed_in": "5.00"
      },
      "package": {
        "ecosystem": "Homebrew",
        "name": "texlive",
        "purl": "pkg:brew/texlive"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "58837"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "confidence": "medium",
    "source": "matched",
    "strategy": "cpansa",
    "upstream_evidence": [
      {
        "ecosystem": "CPAN",
        "key": "pkg:cpan/LEEJO/CGI@4.71",
        "name": "CGI",
        "resource": "CGI",
        "strategy": "cpansa",
        "subject_version": "4.71"
      }
    ]
  },
  "details": "CGI versions before 5.00 for Perl allow HTML injection via text containing --\u003e in comment.\n\nArguments are placed between \u003c!-- and --\u003e without escaping, so text containing --\u003e closes the comment early.\n\nAn application that passes request data to comment can be made to inject HTML into the page.",
  "id": "BREW-texlive-CVE-2026-120648",
  "modified": "2026-11-11T09:32:09Z",
  "published": "2026-11-08T09:34:11Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120648.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/LEEJO/CGI-5.00/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120648"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leejo/CGI.pm/commit/6a17eb84703d84bca86b0079f5870ca9c921ffd4.patch"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/leejo/CGI.pm"
    },
    {
      "type": "ARTICLE",
      "url": "https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "CGI versions before 5.00 for Perl allow HTML injection via text containing --\u003e in comment",
  "upstream": [
    "CVE-2026-120648"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…