Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in leandrocp MDEx allows stored or…
CVE-2026-53427
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in leandrocp MDEx allows stored or reflected cross-site scripting via attacker-controlled Markdown. When syntax highlighting and full info-string forwarding (render: [fullinfostring: true]) are enabled, the Lumis adapter copies the value of a code fence's highlightlinesclass info-string attribute, unescaped, into the class attribute of every rendered line. comraknif::lumisadapter::LumisAdapter::parsecustomattributes in native/comraknif/src/lumisadapter.rs shlex-parses the info string and stores each key=value pair verbatim, highlightlinesconfig pulls highlightlinesclass into the per-line class value, and writehighlighted interpolates that value directly into the class attribute of the per-line . A single-quoted shell token preserves an inner double quote through shlex parsing, so a value such as '"> ' terminates the class attribute early and the markup that follows is emitted as live HTML. An attacker who can submit Markdown (through comments, posts, wiki pages, documentation, or any user-generated content) can inject arbitrary HTML and JavaScript that runs in the browser of every…
Assessment
- CVSS
- 2.3 (v4.0)
- Severity
- Low
- EPSS
- 0.69% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 29 June 2026
- Last updated
- 20 November 2026
- Affected
- leandrocp · mdex · mdex_native
- Assigner
- EEF
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
At the source
References
- https://github.com/leandrocp/mdex_native/security/advisories/GHSA-v664-pmxr-mxxx
- https://cna.erlef.org/cves/CVE-2026-53427.html
- https://osv.dev/vulnerability/EEF-CVE-2026-53427
- https://github.com/leandrocp/mdex/commit/0107e1d55b7679677a82745911b4139c96307264
- https://github.com/leandrocp/mdex/commit/6ed94d905f97af188323f042698ae841c02293b4
- https://github.com/leandrocp/mdex_native/commit/956528c5e31746253347029e810a969ab916fd27
- https://github.com/leandrocp/mdex_native/commit/7738ff428a54058ea0a3293eb2e17b5f4c953e2d
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-53427