CVE-2026-44898: Recon ng · Mistune TOC Anchor Injection XSS
Affects recon-ngSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 5.1.2_4 when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.1.2_4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade recon-ng to 5.1.2_4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewrecon-ngpkg:brew/recon-ngOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and fixed the vulnerability in recon-ng version 5.1.2_4. Users should upgrade to version 5.1.2_4 or later to remediate this issue. The vulnerability arises from improper escaping of heading IDs in the TOC rendering; applying the official fix ensures proper escaping and prevents injection. No additional mitigation steps are required once the patch is applied.
Description
CVE-2026-44898 is a cross-site scripting (XSS) vulnerability in the render_toc_ul() function of the Mistune TOC module used by recon-ng. The function inserts heading IDs and text into HTML anchor tags without proper escaping, allowing an attacker to inject arbitrary HTML and script code if heading IDs are derived from user-supplied text. This can lead to script execution in the rendered table of contents. The vulnerability affects recon-ng versions from 5.1.1_1 up to but not including 5.1.2_4.
References
- github.com/lepture/mistune/security/advisories/GHSA-6269-cqxg-mhhv (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-44898 (opens in a new tab)
- github.com/lepture/mistune/commit/04880a0 (opens in a new tab)
- github.com/lepture/mistune (opens in a new tab)
- github.com/lepture/mistune/releases/tag/v3.2.1 (opens in a new tab)