Live threats

All CVEs / Ammonia Project

CVE-2019-15542Ammonia Project Ammonia

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Aug 26, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An issue was discovered in the ammonia crate before 2.1.0 for Rust. There is uncontrolled recursion during HTML DOM tree serialization.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ammonia.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io ammonia < 2.1.0 2.1.0 cargo update -p ammonia --precise 2.1.0
crates.io ammonia ≥ 0.0.0-0 < 2.1.0 2.1.0 cargo update -p ammonia --precise 2.1.0

Per OSV / GitHub Advisories (GHSA-5hp8-35wj-m525, RUSTSEC-2019-0001). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ammonia_projectammonia< 2.1.0

Official sources

References

Links published by the sources. Open them with care.