p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости rust-ammonia

За последние 30 дней в rust-ammonia опубликовано уязвимостей: 2; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 3

  1. CVE-2026-63430

    Средний · CVSS 6.3EPSS 0,56%Нет опубликованного исправления

    ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip

    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 elemen

    Опубликовано Обновлено
  2. CVE-2026-102342

    Средний · CVSS 5.4EPSS 0,27%Нет опубликованного исправления

    ammonia allows stored XSS through unsanitized SVG animate and set attributes

    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.

    Опубликовано Обновлено
  3. CVE-2021-38193

    Средний · CVSS 6.1EPSS 0,71%Есть исправление

    CVE-2021-38193

    An issue was discovered in the ammonia crate before 3.1.0 for Rust. XSS can occur because the parsing differences for HTML, SVG, and MathML are mishandled, a similar issue to CVE-2020-26870.

    • Обновитесь до 3.1.2-1
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →