vulnerability
Arch Linux: Cross-site scripting (CVE-2020-26297)
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 4 | (AV:N/AC:M/Au:N/C:N/I:P/A:N) | Jan 4, 2021 | Jul 11, 2025 | Nov 27, 2025 |
Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
Jan 4, 2021
Added
Jul 11, 2025
Modified
Nov 27, 2025
Description
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.
Solution
arch-linux-upgrade-latest
References
- CVE-2020-26297
- https://attackerkb.com/topics/CVE-2020-26297
- URL-https://crates.io/crates/mdbook
- URL-https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-045
- URL-https://github.com/rust-lang/mdBook/commit/32abeef088e98327ca0dfccdad92e84afa9d2e9b
- URL-https://github.com/rust-lang/mdBook/security/advisories/GHSA-gx5w-rrhp-f436
- URL-https://groups.google.com/g/rustlang-security-announcements/c/3-sO6of29O0
- URL-https://security.archlinux.org/ASA-202101-8
- CWE-79
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.