Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2020-26297

8.2 · HIGH
Published Jan 4, 2021 rust-lang CWE-79 EPSS 1.25% (67th pctl)

Overview

CVE-2020-26297 is a high-severity vulnerability affecting rust-lang mdbook. It was published on January 4, 2021 and has a CVSS 3.1 base score of 8.2 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.2, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

mdBook is a utility to create modern online books from Markdown files and is written in Rust. In mdBook before version 0.4.5, there is a vulnerability affecting the search feature of mdBook, which could allow an attacker to execute arbitrary JavaScript code on the page. The search feature of mdBook (introduced in version 0.1.4) was affected by a cross site scripting vulnerability that allowed an attacker to execute arbitrary JavaScript code on an user's browser by tricking the user into typing a malicious search query, or tricking the user into clicking a link to the search page with the malicious search query prefilled. mdBook 0.4.5 fixes the vulnerability by properly escaping the search query. Owners of websites built with mdBook have to upgrade to mdBook 0.4.5 or greater and rebuild their website contents with it.

Remediation

Check the references section for vendor advisories and patches from rust-lang. Update mdbook to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
rust-lang mdbook >= 0.1.4, < 0.4.5 Affected

Frequently Asked Questions

What is CVE-2020-26297?

CVE-2020-26297 is a high-severity vulnerability affecting rust-lang mdbook. It was published on January 4, 2021 and has a CVSS 3.1 base score of 8.2 (HIGH).

How severe is CVE-2020-26297?

This vulnerability has a CVSS 3.1 base score of 8.2, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2020-26297?

Check the references section for vendor advisories and patches from rust-lang. Update mdbook to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2020-26297?

CyberStrike's AI-powered security agents can automatically detect CVE-2020-26297 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.