AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← CVE index

Attributed metadata history

Δ / VULNERABILITY RECORD

CVE-2026-102941.

Source-reported disclosure and enrichment record.

SEVERITY / CVSSHIGH / 7.5CVSS 3.1 · security-advisories@github.com
EXPLOITATION STATUSNo cached KEV assertionThe local KEV cache may be unavailable or incomplete; this does not establish absence of exploitation.
RECORD STATUSDeferredModified Oct 16, 2026

Disclosure summary

The package github.com/gomarkdown/markdown is a Go library for parsing Markdown text and rendering as HTML. Prior to 0.0.0-20260724235538-61af6e1e6971, parser.IsSafeURL in parser/parser.go slices url[:nPath] before the len(url) >= nPath guard. A short destination causes a slice-bounds panic when the loop reaches a relative-path prefix for which len(url) < nPath and cap(url) < nPath. The one-byte destination / is an explicit non-panic counterexample because it matches the first valid path and returns before a longer prefix is sliced. Demonstrated panic cases include empty, ., and .. destinations under those conditions. The panic is reachable when markdown.ToHTML renders untrusted Markdown with html.Safelink enabled, including an empty link destination, and is also reachable by callers that pass a short attacker-controlled URL directly to the exported parser.IsSafeURL function. An uncaught panic can terminate the calling process and cause denial of service. This issue is fixed in 0.0.0-20260724235538-61af6e1e6971.

Source-reported weakness categories

CWE-125

Source-specific records & product guidance

Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.

NIST NVD · nvd:CVE-2026-102941

Open original source · Updated Oct 16, 2026

The package github.com/gomarkdown/markdown is a Go library for parsing Markdown text and rendering as HTML. Prior to 0.0.0-20260724235538-61af6e1e6971, parser.IsSafeURL in parser/parser.go slices url[:nPath] before the len(url) >= nPath guard. A short destination causes a slice-bounds panic when the loop reaches a relative-path prefix for which len(url) < nPath and cap(url) < nPath. The one-byte destination / is an explicit non-panic counterexample because it matches the first valid path and returns before a longer prefix is sliced. Demonstrated panic cases include empty, ., and .. destinations under those conditions. The panic is reachable when markdown.ToHTML renders untrusted Markdown with html.Safelink enabled, including an empty link destination, and is also reachable by callers that pass a short attacker-controlled URL directly to the exported parser.IsSafeURL function. An uncaught panic can terminate the calling process and cause denial of service. This issue is fixed in 0.0.0-20260724235538-61af6e1e6971.

Source severity: HIGH / 7.5

GitHub reviewed advisories · GHSA-cv23-7vc5-jfh7

Open original source · Updated Oct 16, 2026

gomarkdown/markdown IsSafeURL panics on short URLs

GitHub reviewed package advisory. Version ranges and patches are independently attributed; executable descriptions and source code locations are excluded.

Source severity: HIGH

VendorProduct / associationVersion / bounds
gogithub.com/gomarkdown/markdown< 0.0.0-20260724235538-61af6e1e6971

Indexed product associations

These cached associations support search and triage. Confirm applicability, platform conditions, and fixed versions in the original record.

VendorProductVersionSource / relationship
gogithub.com/gomarkdown/markdown< 0.0.0-20260724235538-61af6e1e6971GHSA-cv23-7vc5-jfh7 / vendor-listed

Original records & references

GitHub repository matches

Repository matches are links and GitHub-supplied metadata only. They are not verified working proof-of-concept code. Each supported query is bounded to ten pages and at most 1,000 indexed results. This is not a complete index of GitHub or public exploit research. Coverage can also be limited by provider availability, rate limits, rejected metadata, incomplete search results, manual review, and the recorded refresh time.

0 reviewed associations0 unverified candidates

No stored repository matches

Repository discovery has not recorded an update for this CVE yet.

Discovery progress

0 of 3 discovery queries finished. GitHub returned 0 indexed results; 0 malformed or disallowed results were rejected.

No discovery update has been recorded for this CVE.

View all 0 stored repository matches

PUBLISHED 2026-10-16T16:16:52+00:00
MODIFIED 2026-10-16T20:04:29+00:00
INGESTED 2026-10-17T19:30:03+00:00