This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate deno_doc

Dependencies

(28 total, 16 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 ammonia ⚠️^3.3.04.1.2out of date
 anyhow^1.0.581.0.100up to date
 cfg-if^1.0.01.0.4up to date
 comrak^0.20.00.49.0out of date
 deno_ast^0.39.00.52.0out of date
 deno_graph^0.78.00.105.0out of date
 futures^0.3.260.3.31up to date
 handlebars^5.06.3.2out of date
 html-escape^0.2.130.2.13up to date
 import_map^0.19.00.24.0out of date
 indexmap^2.0.22.12.1up to date
 lazy_static^1.4.01.5.0up to date
 regex^1.6.01.12.2up to date
 serde^1.0.1401.0.228up to date
 serde_json^1.0.821.0.145up to date
 syntect^5.1.05.3.0up to date
 termcolor^1.1.21.4.1up to date
 tree-sitter-bash^0.20.50.25.1out of date
 tree-sitter-css^0.20.00.25.0out of date
 tree-sitter-highlight^0.20.10.26.3out of date
 tree-sitter-html^0.20.00.23.2out of date
 tree-sitter-javascript^0.20.10.25.0out of date
 tree-sitter-json^0.20.10.24.8out of date
 tree-sitter-md^0.1.70.5.1out of date
 tree-sitter-regex^0.20.00.25.0out of date
 tree-sitter-rust^0.20.40.24.0out of date
 tree-sitter-toml^0.20.00.20.0up to date
 tree-sitter-typescript^0.20.30.23.2out of date

Dev dependencies

(8 total, 3 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.581.0.100up to date
 clap^2.33.34.5.53out of date
 console_static_text^0.8.20.8.3up to date
 criterion^0.4.00.8.1out of date
 file_test_runner^0.7.00.10.0out of date
 insta^1.38.01.44.3up to date
 pretty_assertions^1.0.01.4.1up to date
 tokio^1.25.01.48.0up to date

Security Vulnerabilities

ammonia: Incorrect handling of embedded SVG and MathML leads to mutation XSS after removal

RUSTSEC-2025-0071

Affected versions of this crate did not correctly strip namespace-incompatible tags in certain situations, causing it to incorrectly account for differences between HTML, SVG, and MathML.

This vulnerability only has an effect when the svg or math tag is allowed, because it relies on a tag being parsed as html during the cleaning process, but serialized in a way that causes in to be parsed as xml by the browser.

Additionally, the application using this library must allow a tag that is parsed as raw text in HTML. These elements are:

  • title
  • textarea
  • xmp
  • iframe
  • noembed
  • noframes
  • plaintext
  • noscript
  • style
  • script

Applications that do not explicitly allow any of these tags should not be affected, since none are allowed by default.