Skip to content
Heist/ feed
Back to feed
Unrated

Improper rendering of text nodes in golang.org/x/net/html

Type: advisorySources: OSV

Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-3978
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:57 UTC · Revision 1

Source evidence

Improper rendering of text nodes in golang.org/x/net/html

core-osv · Original source

Published 2 Aug 2023, 19:48 UTC

Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.

osv:CVE-2023-3978
Complete source record
{
  "id": "1a9820fed5ca20835be29c6450b6df48936e0d3cb102945e1ef2b9a73d0c52d7",
  "url": "https://osv.dev/vulnerability/CVE-2023-3978",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper rendering of text nodes in golang.org/x/net/html",
    "summary": "Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.",
    "evidence": "osv:CVE-2023-3978",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-3978",
      "aliases": [
        "CVE-2023-3978",
        "GHSA-2wrh-6pvc-2jm9",
        "GO-2023-1988"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/golang/net",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8ffa475fbdb33da97e8bf79cc5791ee8751fca5e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:golang:networking:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.13.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.12.0",
            "v0.11.0",
            "v0.10.0",
            "v0.9.0",
            "v0.8.0",
            "v0.7.0",
            "v0.4.0",
            "v0.6.0",
            "v0.5.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3978.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.928285699Z",
      "provider": "osv",
      "references": [
        "https://go.dev/cl/514896",
        "https://go.dev/issue/61615",
        "https://pkg.go.dev",
        "https://pkg.go.dev/vuln/GO-2023-1988",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3978.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-3978"
      ],
      "provider_metadata": {
        "cna_assigner": "Go",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.13.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3978.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-3978",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504378,
  "published_at": "2023-08-02T19:48:56.676+00:00"
}