All reports
Medium

Ammonia: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected versions

Version ranges need review.

Rust / Cargoammonia
Affected versions
< 3.3.2
Fixed version
3.3.3
Rust / Cargoammonia
Affected versions
>=0.0.0-0 <3.3.3 || >=4.0.0 <4.0.3 || >=4.1.0 <4.1.4
Fixed version
3.3.3 · 4.0.3 · 4.1.4
Rust / Cargoammonia
Affected versions
>= 4.0.0, <= 4.0.2
Fixed version
4.0.3
Rust / Cargoammonia
Affected versions
>= 4.1.2, <= 4.1.3
Fixed version
4.1.4
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-102342

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-19

Description

The following SVG will produce a link with a javascript scheme. If the user clicks this link, they will run it.

<svg xmlns="http://www.w3.org/2000/svg">
  <a>
    <set attributeName="href" to="javascript:alert('SET_XSS')"></set>
    <text y="30">Click set</text>
  </a>
</svg>
Impact

Allows stored XSS in applications that allow the animate and set tags.

Patches

Fixed in 3.3.3, 4.0.3, and 4.1.4

Workarounds

Do not enable the animate or set tags.

Links

Credits

  • koyokr