Search
Find a vulnerability
Search criteria
4 vulnerabilities by rust-ammonia
CVE-2026-63430 (GCVE-0-2026-63430)
Vulnerability from nvd – Published: 2026-10-15 18:10 – Updated: 2026-10-15 20:25
VLAI
EPSS
VEX
Title
ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip
Summary
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.
Severity
SSVC
Exploitation: poc
Automatable: yes
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-15 20:24 UTC
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
12 references
| URL | Tags |
|---|---|
| https://github.com/rust-ammonia/ammonia/security/… | x_refsource_CONFIRM |
| https://github.com/rust-ammonia/ammonia/pull/243 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/pull/244 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/pull/245 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/00… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/7a… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/b5… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://ivan09999.github.io/ammonia-mxss | x_refsource_MISC |
| https://rustsec.org/advisories/RUSTSEC-2026-0193.html | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| rust-ammonia | ammonia |
Affected:
< 3.3.2
Affected: >= 4.0.0, < 4.0.2 Affected: >= 4.1.0, < 4.1.3 |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-63430",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-15T20:24:18.831464Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T20:25:49.464Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "ammonia",
"vendor": "rust-ammonia",
"versions": [
{
"status": "affected",
"version": "\u003c 3.3.2"
},
{
"status": "affected",
"version": "\u003e= 4.0.0, \u003c 4.0.2"
},
{
"status": "affected",
"version": "\u003e= 4.1.0, \u003c 4.1.3"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T18:10:35.869Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/243",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/243"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/244",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/244"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/245",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/245"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3"
},
{
"name": "https://ivan09999.github.io/ammonia-mxss",
"tags": [
"x_refsource_MISC"
],
"url": "https://ivan09999.github.io/ammonia-mxss"
},
{
"name": "https://rustsec.org/advisories/RUSTSEC-2026-0193.html",
"tags": [
"x_refsource_MISC"
],
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0193.html"
}
],
"source": {
"advisory": "GHSA-9jh8-v38h-cvhr",
"discovery": "UNKNOWN"
},
"title": "ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-63430",
"datePublished": "2026-10-15T18:10:35.869Z",
"dateReserved": "2026-07-16T19:35:57.766Z",
"dateUpdated": "2026-10-15T20:25:49.464Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-102342 (GCVE-0-2026-102342)
Vulnerability from nvd – Published: 2026-10-13 14:28 – Updated: 2026-10-13 20:23
VLAI
EPSS
VEX
Title
ammonia allows stored XSS through unsanitized SVG animate and set attributes
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.
Severity
5.4 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-13 20:13 UTC
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
10 references
| URL | Tags |
|---|---|
| https://github.com/rust-ammonia/ammonia/security/… | x_refsource_CONFIRM |
| https://github.com/rust-ammonia/ammonia/pull/250 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/pull/251 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/pull/252 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/93… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/9e… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/d2… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| rust-ammonia | ammonia |
Affected:
< 3.3.3
Affected: >= 4.0.0, < 4.0.3 Affected: >= 4.1.2, < 4.1.4 |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-102342",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-13T20:13:15.972756Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-13T20:23:10.660Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "ammonia",
"vendor": "rust-ammonia",
"versions": [
{
"status": "affected",
"version": "\u003c 3.3.3"
},
{
"status": "affected",
"version": "\u003e= 4.0.0, \u003c 4.0.3"
},
{
"status": "affected",
"version": "\u003e= 4.1.2, \u003c 4.1.4"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s origin, enabling stored cross-site scripting. This issue is fixed in versions 3.3.3, 4.0.3, and 4.1.4."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-13T14:28:50.011Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-m6mh-2hw2-555x",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-m6mh-2hw2-555x"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/250",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/250"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/251",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/251"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/252",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/252"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/9394bd81179e756cb911314deabd943f1a9c8989",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/9394bd81179e756cb911314deabd943f1a9c8989"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/9e3335e2dd8ab07346ff7997f20662a3da4023f6",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/9e3335e2dd8ab07346ff7997f20662a3da4023f6"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/d2ae1547f478bd84d158bc5e57f5d31437dc4d8d",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/d2ae1547f478bd84d158bc5e57f5d31437dc4d8d"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.3",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.3"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.3",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.3"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.4"
}
],
"source": {
"advisory": "GHSA-m6mh-2hw2-555x",
"discovery": "UNKNOWN"
},
"title": "ammonia allows stored XSS through unsanitized SVG animate and set attributes"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-102342",
"datePublished": "2026-10-13T14:28:50.011Z",
"dateReserved": "2026-09-28T22:38:42.254Z",
"dateUpdated": "2026-10-13T20:23:10.660Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-63430 (GCVE-0-2026-63430)
Vulnerability from cvelistv5 – Published: 2026-10-15 18:10 – Updated: 2026-10-15 20:25
VLAI
EPSS
VEX
Title
ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip
Summary
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.
Severity
SSVC
Exploitation: poc
Automatable: yes
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-15 20:24 UTC
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
12 references
| URL | Tags |
|---|---|
| https://github.com/rust-ammonia/ammonia/security/… | x_refsource_CONFIRM |
| https://github.com/rust-ammonia/ammonia/pull/243 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/pull/244 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/pull/245 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/00… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/7a… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/b5… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://ivan09999.github.io/ammonia-mxss | x_refsource_MISC |
| https://rustsec.org/advisories/RUSTSEC-2026-0193.html | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| rust-ammonia | ammonia |
Affected:
< 3.3.2
Affected: >= 4.0.0, < 4.0.2 Affected: >= 4.1.0, < 4.1.3 |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-63430",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-15T20:24:18.831464Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T20:25:49.464Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "ammonia",
"vendor": "rust-ammonia",
"versions": [
{
"status": "affected",
"version": "\u003c 3.3.2"
},
{
"status": "affected",
"version": "\u003e= 4.0.0, \u003c 4.0.2"
},
{
"status": "affected",
"version": "\u003e= 4.1.0, \u003c 4.1.3"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T18:10:35.869Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-9jh8-v38h-cvhr"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/243",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/243"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/244",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/244"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/245",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/245"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/004bf2cee4288f74a6ee619d589e3e90c24c09ca"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/7ac3fd3145236f28857eeecbadb544c8659cba31"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/b51bf4f9749ed3cd518330105f20a2c39c9ee274"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.2"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.2"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.3"
},
{
"name": "https://ivan09999.github.io/ammonia-mxss",
"tags": [
"x_refsource_MISC"
],
"url": "https://ivan09999.github.io/ammonia-mxss"
},
{
"name": "https://rustsec.org/advisories/RUSTSEC-2026-0193.html",
"tags": [
"x_refsource_MISC"
],
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0193.html"
}
],
"source": {
"advisory": "GHSA-9jh8-v38h-cvhr",
"discovery": "UNKNOWN"
},
"title": "ammonia: mXSS in ammonia via MathML `annotation-xml` encoding strip"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-63430",
"datePublished": "2026-10-15T18:10:35.869Z",
"dateReserved": "2026-07-16T19:35:57.766Z",
"dateUpdated": "2026-10-15T20:25:49.464Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-102342 (GCVE-0-2026-102342)
Vulnerability from cvelistv5 – Published: 2026-10-13 14:28 – Updated: 2026-10-13 20:23
VLAI
EPSS
VEX
Title
ammonia allows stored XSS through unsanitized SVG animate and set attributes
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.
Severity
5.4 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-13 20:13 UTC
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
10 references
| URL | Tags |
|---|---|
| https://github.com/rust-ammonia/ammonia/security/… | x_refsource_CONFIRM |
| https://github.com/rust-ammonia/ammonia/pull/250 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/pull/251 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/pull/252 | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/93… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/9e… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/commit/d2… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
| https://github.com/rust-ammonia/ammonia/releases/… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| rust-ammonia | ammonia |
Affected:
< 3.3.3
Affected: >= 4.0.0, < 4.0.3 Affected: >= 4.1.2, < 4.1.4 |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-102342",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-13T20:13:15.972756Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-13T20:23:10.660Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "ammonia",
"vendor": "rust-ammonia",
"versions": [
{
"status": "affected",
"version": "\u003c 3.3.3"
},
{
"status": "affected",
"version": "\u003e= 4.0.0, \u003c 4.0.3"
},
{
"status": "affected",
"version": "\u003e= 4.1.2, \u003c 4.1.4"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s origin, enabling stored cross-site scripting. This issue is fixed in versions 3.3.3, 4.0.3, and 4.1.4."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-13T14:28:50.011Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-m6mh-2hw2-555x",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/rust-ammonia/ammonia/security/advisories/GHSA-m6mh-2hw2-555x"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/250",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/250"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/251",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/251"
},
{
"name": "https://github.com/rust-ammonia/ammonia/pull/252",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/pull/252"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/9394bd81179e756cb911314deabd943f1a9c8989",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/9394bd81179e756cb911314deabd943f1a9c8989"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/9e3335e2dd8ab07346ff7997f20662a3da4023f6",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/9e3335e2dd8ab07346ff7997f20662a3da4023f6"
},
{
"name": "https://github.com/rust-ammonia/ammonia/commit/d2ae1547f478bd84d158bc5e57f5d31437dc4d8d",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/commit/d2ae1547f478bd84d158bc5e57f5d31437dc4d8d"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.3",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v3.3.3"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.3",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.0.3"
},
{
"name": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/rust-ammonia/ammonia/releases/tag/v4.1.4"
}
],
"source": {
"advisory": "GHSA-m6mh-2hw2-555x",
"discovery": "UNKNOWN"
},
"title": "ammonia allows stored XSS through unsanitized SVG animate and set attributes"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-102342",
"datePublished": "2026-10-13T14:28:50.011Z",
"dateReserved": "2026-09-28T22:38:42.254Z",
"dateUpdated": "2026-10-13T20:23:10.660Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}