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.

INFO

Published Date :

Jan. 4, 2021, 7:15 p.m.

Last Modified :

Jan. 14, 2021, 3:04 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.7

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2020-26297 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2020-26297 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rust-lang mdbook
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-26297.

URL Resource
https://crates.io/crates/mdbook Product Third Party Advisory
https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-045 Release Notes Third Party Advisory
https://github.com/rust-lang/mdBook/commit/32abeef088e98327ca0dfccdad92e84afa9d2e9b Patch Third Party Advisory
https://github.com/rust-lang/mdBook/security/advisories/GHSA-gx5w-rrhp-f436 Mitigation Third Party Advisory
https://groups.google.com/g/rustlang-security-announcements/c/3-sO6of29O0 Mailing List Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

just a tiny diary written about my daily activities like the classes in Univ.; reading papers, articles, or books

CSS

Updated: 2 years, 7 months ago
1 stars 1 fork 1 watcher
Born at : April 27, 2021, 1:32 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 3 weeks ago
26 stars 2 fork 2 watcher
Born at : Jan. 5, 2021, 11:56 a.m. This repo has been linked 163 different CVEs too.

Rust语言安全相关分析

rust rust-sec rust-security fuzz rust-crate

Rust

Updated: 7 months ago
23 stars 2 fork 2 watcher
Born at : Oct. 31, 2018, 5:44 a.m. This repo has been linked 17 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-26297 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-26297 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 14, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://crates.io/crates/mdbook No Types Assigned https://crates.io/crates/mdbook Product, Third Party Advisory
    Changed Reference Type https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-045 No Types Assigned https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-045 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/rust-lang/mdBook/commit/32abeef088e98327ca0dfccdad92e84afa9d2e9b No Types Assigned https://github.com/rust-lang/mdBook/commit/32abeef088e98327ca0dfccdad92e84afa9d2e9b Patch, Third Party Advisory
    Changed Reference Type https://github.com/rust-lang/mdBook/security/advisories/GHSA-gx5w-rrhp-f436 No Types Assigned https://github.com/rust-lang/mdBook/security/advisories/GHSA-gx5w-rrhp-f436 Mitigation, Third Party Advisory
    Changed Reference Type https://groups.google.com/g/rustlang-security-announcements/c/3-sO6of29O0 No Types Assigned https://groups.google.com/g/rustlang-security-announcements/c/3-sO6of29O0 Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:rust-lang:mdbook:*:*:*:*:*:rust:*:* versions from (including) 0.1.4 up to (excluding) 0.4.5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-26297 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-26297 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} -0.00%

score

0.47952

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability