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 typst-html

Dependencies

(15 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 az^1.21.3.0up to date
 bumpalo^3.15.43.20.3up to date
 comemo^0.5.10.5.1up to date
 ecow^0.2.60.3.1out of date
 palette^0.7.30.7.7up to date
 rustc-hash^2.12.1.3up to date
 time ⚠️^0.3.200.3.55maybe insecure
 typst-assets^0.15.10.15.1up to date
 typst-library^0.15.10.15.1up to date
 typst-macros^0.15.10.15.1up to date
 typst-svg^0.15.10.15.1up to date
 typst-syntax^0.15.10.15.1up to date
 typst-timing^0.15.10.15.1up to date
 typst-utils^0.15.10.15.1up to date
 unicode-math-class^0.10.1.0up to date

Security Vulnerabilities

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.