Skip to content
Heist/ feed
Back to feed
Unrated

CVE-2026-102342 affecting package rust 1.75.0-31

Type: advisorySources: OSV

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.

Products
rust
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-102342
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:06 UTC · Revision 1

Source evidence

CVE-2026-102342 affecting package rust 1.75.0-31

core-osv · Original source

Published 13 Oct 2026, 15:17 UTC

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.

osv:AZL-108048

rust

Fixed versions: Not specified

Complete source record
{
  "id": "00ae4de0484be78b8f4bdaf06504f0ff7d0a622a73547ca6e5d481513bfb6aad",
  "url": "https://osv.dev/vulnerability/AZL-108048",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-102342 affecting package rust 1.75.0-31",
    "summary": "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.",
    "evidence": "osv:AZL-108048",
    "products": [
      {
        "name": {
          "value": "rust",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "AZL-108048",
      "aliases": [
        "AZL-108048"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "1.75.0-31"
                }
              ]
            }
          ],
          "package": {
            "name": "rust",
            "purl": "pkg:rpm/azure-linux/rust",
            "ecosystem": "Azure Linux:3"
          },
          "database_specific": {
            "source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-108048.json"
          }
        }
      ],
      "modified": "2026-10-15T05:37:09Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-102342"
      ],
      "references": [
        "https://nvd.nist.gov/vuln/detail/CVE-2026-102342"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-102342",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 321519,
  "published_at": "2026-10-13T15:17:30+00:00"
}