Skip to main content
VulnerabilityPublished Updated

CVE-2026-44898: Recon ng · Mistune TOC Anchor Injection XSS

Affects recon-ngSource GCVE Database

0
Compare
Authoritative record:CVE-2026-44898· Medium 6.1

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

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewrecon-ngpkg:brew/recon-ngOther threatsAffected
  • >=5.1.1_1 <5.1.2_4
Fixed in
  • 5.1.2_4

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

Community reviews

Loading reviews…