All vulnerabilities

Servers and applications

CVE-2023-40030

Cargo downloads a Rust project’s dependencies and compiles the project. Starting in Rust 1.60.0 and prior to 1.72, Cargo did not escape Cargo feature names when including them in the report generated by `cargo build --timings`. A malicious package included as a dependency may inject nearly arbitrary HTML here, potentially leading to cross-site scripting if the report is subsequently uploaded…

Severity
Medium 6.1
Published
24 Aug 2023
Last changed
17 Jun 2026
Added to UpHeron
22 Oct 2026
Fixed in
1.72.0
Sources
NVD

Affected software

SoftwareAffected versions
RustServers and applications · cpe:a:rust-lang:rust
  • From 1.60.0 before 1.72.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2023-40030
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2023-40030