CVE-2026-102342

Source
https://cve.org/CVERecord?id=CVE-2026-102342
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102342.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-102342
Aliases
Downstream
AZL (2)
DEBIAN (1)
Published
2026-10-13T14:28:50Z
Modified
2026-10-15T02:47:24Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
ammonia allows stored XSS through unsanitized SVG animate and set attributes
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102342.json"
}
References

Affected packages

Git / github.com/rust-ammonia/ammonia

Affected ranges

Type
GIT
Repo
https://github.com/rust-ammonia/ammonia
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "3.3.3"
        },
        {
            "introduced":  "4.0.0"
        },
        {
            "fixed":  "4.0.3"
        },
        {
            "introduced":  "4.1.2"
        },
        {
            "fixed":  "4.1.4"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.2.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v1.*
v1.0.0
v1.0.0-rc1
v1.0.0-rc2
v1.0.0-rc3
v1.0.1
v1.1.0
v1.2.0
v2.*
v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v3.*
v3.0.0
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.2.0
v3.2.1
v3.3.0
v3.3.1
v3.3.2
v4.*
v4.0.0
v4.0.1
v4.0.2
v4.1.0
v4.1.1
v4.1.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-102342.json"