Debian Package Tracker
Register | Log in
Subscribe

rust-ammonia

HTML Sanitization - Rust source code

Choose email to subscribe with

general
  • source: rust-ammonia (main)
  • version: 4.2.3-1
  • maintainer: Debian Rust Maintainers (archive) (DMD)
  • uploaders: Wolfgang Silbermayr [DMD]
  • arch: any
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • oldstable: 3.2.1-1
  • stable: 4.0.0-3
  • testing: 4.1.4-1
  • unstable: 4.2.3-1
versioned links
  • 3.2.1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 4.0.0-3: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 4.1.4-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 4.2.3-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • librust-ammonia-dev
action needed
Problems while searching for a new upstream version high
uscan had problems while searching for a new upstream version:
In watchfile debian/watch, reading webpage
  https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/ammonia failed: 500 read timeout
Created: 2026-10-17 Last update: 2026-10-18 23:00
Failed to analyze the VCS repository. Please troubleshoot and fix the issue. high
vcswatch reports that there is an error with this package's VCS, or the debian/changelog file inside it. Please check the error shown below and try to fix it. You might have to update the VCS URL in the debian/control file to point to the correct repository.

fatal: shallow file has changed since we read it
Created: 2026-10-17 Last update: 2026-10-17 04:33
15 open merge requests in Salsa normal
There are 15 open merge requests for this package on Salsa. You should consider reviewing and/or merging these merge requests.
Created: 2026-09-30 Last update: 2026-10-09 01:34
3 low-priority security issues in trixie low

There are 3 open security issues in trixie.

3 issues left for the package maintainer to handle:
  • CVE-2026-63430: (needs triaging) ammonia is a Rust library for repairing and securing untrusted HTML. Prior to 3.3.2, 4.0.2, and 4.1.3, applications that explicitly allow the math tag, annotation-xml, and at least one raw-text HTML element while disallowing the encoding attribute can permit mutation cross-site scripting. ammonia does not correctly implement annotation-xml's encoding-dependent MathML integration-point behavior after attribute filtering removes encoding, so the sanitizer validates a descendant under one namespace interpretation while the browser reparses the output under another. An attacker can use that namespace transition and an allowed raw-text HTML element to execute JavaScript when a user renders the sanitized output. The required tags are not enabled by default, so applications that do not explicitly allow them are not affected. This issue is fixed in versions 3.3.2, 4.0.2, and 4.1.3.
  • CVE-2026-102342: (needs triaging) ammonia is a Rust library for repairing and securing untrusted HTML. Prior to 3.3.3, 4.0.3, and 4.1.4, applications that allow the SVG animate or set elements can retain an animation whose attributeName targets href and whose value uses the javascript scheme. The sanitized SVG can therefore create a script-bearing link, and a user who clicks the link can execute attacker-controlled script in the application's origin, enabling stored cross-site scripting. This issue is fixed in versions 3.3.3, 4.0.3, and 4.1.4.
  • TEMP-1115977-4FD111: (needs triaging)

You can find information about how to handle these issues in the security team's documentation.

Created: 2025-09-22 Last update: 2026-10-17 11:48
debian/patches: 1 patch to forward upstream low

Among the 1 debian patch available in version 4.2.3-1 of the package, we noticed the following issues:

  • 1 patch where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2024-09-25 Last update: 2026-10-17 09:30
testing migrations
  • excuses:
    • Migrates after: rust-cssparser, rust-html5ever
    • Migration status for rust-ammonia (4.1.4-1 to 4.2.3-1): Waiting for test results or another package, or too young (no action required now - check later)
    • Issues preventing migration:
    • ∙ ∙ Autopkgtest for python-nh3/0.3.5-2: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, ppc64el: Pass, riscv64: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for rust-ammonia/4.2.3-1: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, ppc64el: Pass, riscv64: Pass, s390x: Pass
    • ∙ ∙ Autopkgtest for rust-html2pango/0.6.0-4: amd64: Pass, arm64: Pass, armhf: Pass, i386: Test triggered, ppc64el: Pass, riscv64: No tests, superficial or marked flaky ♻, s390x: Pass
    • ∙ ∙ Too young, only 2 of 5 days old
    • ∙ ∙ Build-Depends(-Arch): rust-ammonia rust-cssparser
    • ∙ ∙ Build-Depends(-Arch): rust-ammonia rust-html5ever (not considered)
    • ∙ ∙ Depends: rust-ammonia rust-cssparser
    • ∙ ∙ Depends: rust-ammonia rust-html5ever (not considered)
    • Additional info (not blocking):
    • ∙ ∙ Piuparts tested OK - https://piuparts.debian.org/sid/source/r/rust-ammonia.html
    • ∙ ∙ Reproduced on amd64 - info
    • ∙ ∙ Reproduced on arm64 - info
    • ∙ ∙ Reproduced on armhf - info
    • ∙ ∙ Reproduced on i386 - info
    • Not considered
news
[rss feed]
  • [2026-10-16] Accepted rust-ammonia 4.2.3-1 (source) into unstable (Simon Quigley)
  • [2026-08-19] rust-ammonia 4.1.4-1 MIGRATED to testing (Debian testing watch)
  • [2026-07-27] Accepted rust-ammonia 4.1.4-1 (source) into unstable (Simon Quigley)
  • [2026-07-23] rust-ammonia 4.1.3-1 MIGRATED to testing (Debian testing watch)
  • [2026-07-20] Accepted rust-ammonia 4.1.3-1 (source) into unstable (Matthias Geiger)
  • [2026-05-31] rust-ammonia 4.1.2-2 MIGRATED to testing (Debian testing watch)
  • [2026-05-16] Accepted rust-ammonia 4.1.2-2 (source) into unstable (Fab Stz) (signed by: Matthias Geiger)
  • [2025-09-25] rust-ammonia 4.1.2-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-23] Accepted rust-ammonia 4.1.2-1 (source) into unstable (NoisyCoil)
  • [2025-09-16] rust-ammonia 4.1.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-13] Accepted rust-ammonia 4.1.1-1 (source) into unstable (Peter Michael Green)
  • [2025-01-29] rust-ammonia 4.0.0-3 MIGRATED to testing (Debian testing watch)
  • [2025-01-25] Accepted rust-ammonia 4.0.0-3 (source) into unstable (Peter Michael Green)
  • [2025-01-06] rust-ammonia 4.0.0-2 MIGRATED to testing (Debian testing watch)
  • [2024-12-31] Accepted rust-ammonia 4.0.0-2 (source) into unstable (NoisyCoil) (signed by: Blair Noctis)
  • [2024-09-27] rust-ammonia 4.0.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-09-24] Accepted rust-ammonia 4.0.0-1 (source) into unstable (Matthias Geiger)
  • [2024-01-27] rust-ammonia 3.3.0-1 MIGRATED to testing (Debian testing watch)
  • [2024-01-23] Accepted rust-ammonia 3.3.0-1 (source) into unstable (Peter Michael Green)
  • [2022-11-21] rust-ammonia 3.2.1-1 MIGRATED to testing (Debian testing watch)
  • [2022-11-16] Accepted rust-ammonia 3.2.1-1 (source) into unstable (Peter Michael Green)
  • [2021-10-20] rust-ammonia 3.1.2-1 MIGRATED to testing (Debian testing watch)
  • [2021-10-14] Accepted rust-ammonia 3.1.2-1 (source) into unstable (Henry-Nicolas Tourneur) (signed by: Sylvestre Ledru)
  • [2021-07-30] rust-ammonia REMOVED from testing (Debian testing watch)
  • [2020-10-29] rust-ammonia 3.1.0-2 MIGRATED to testing (Debian testing watch)
  • [2020-10-18] Accepted rust-ammonia 3.1.0-2 (source) into unstable (Sylvestre Ledru)
  • [2020-08-29] Accepted rust-ammonia 3.1.0-1 (amd64 source) into unstable (Henry-Nicolas Tourneur) (signed by: Sylvestre Ledru)
  • [2020-04-20] Accepted rust-ammonia 3.0.0-2 (source) into unstable (Sylvestre Ledru)
  • [2019-11-12] Accepted rust-ammonia 3.0.0-1 (source amd64) into unstable, unstable (Wolfgang Silbermayr) (signed by: Sylvestre Ledru)
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 4.1.4-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing