Skip to main content

Saxy

3 CVEs product

Monthly

CVE-2026-66294 Nov 06, 10:16 LOW PATCH Monitor

XML injection in the Saxy encoder (saxy 0.7.0 up to, but not including, 1.7.0) lets an attacker break out of a CDATA section and inject markup that downstream consumers treat as genuine document structure. The flaw only bites applications that themselves pass untrusted text into Saxy.XML.cdata/1 and then serialize with Saxy.encode!/2 or Saxy.encode_to_iodata!/2: the CDATA path performs no neutralization of the ]]> terminator, so everything after it is emitted as live markup, allowing forged or overridden sibling elements and attributes in generated SOAP, RSS/Atom, sitemap, SVG or XML export documents. Impact is confined to document integrity (no confidentiality or availability effect), the char-data and attribute paths are safe, and no public exploit code was identified at time of analysis; vendor fix is released in 1.7.0, and the priority decision is monitor.

Elixir Saxy
NVD GitHub
CVSS 4.0
2.1
EPSS
0.2%
CVE-2026-66295 Nov 06, 10:16 LOW PATCH Monitor

XML injection in the Saxy Elixir library (versions 0.7.0 through 1.6.x) lets attacker-influenced data written into a processing instruction escape the <?...?> construct and be serialized as ordinary markup at document level, so the tree the application encodes and the tree a downstream parser reads back diverge. The flaw is reachable through the documented public builder Saxy.XML.processing_instruction/2 without any API misuse, and enables forged elements, attributes, further processing instructions, or rendering directives in the output; character data, attribute values, and comments are escaped normally, so only applications that route untrusted input into a PI are affected. The CVSS 4.0 base score is 2.1 (AT:P, integrity-only, S:I) and the independent assessment scores it CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N; no public exploit has been identified at time of analysis and vendor priority is 'monitor', so real-world urgency is low and entirely dependent on what consumes the serialized document.

Elixir Saxy
NVD GitHub
CVSS 4.0
2.1
EPSS
0.2%
CVE-2026-66293 Nov 06, 10:16 LOW PATCH Monitor

Comment-node XML injection in the Saxy Elixir XML library (versions 0.7.0 up to but not including 1.7.0) lets attacker-controlled text that an application serializes as a comment escape the <!-- ... --> delimiters and inject sibling markup into the encoded document. The impact materializes only downstream: when the serialized output is rendered as HTML or SVG the injected markup executes as stored cross-site scripting, and when it is consumed by another XML processor the attacker can forge elements, attributes and text the producing application never built. The trigger is a specific usage pattern - passing untrusted text through Saxy.XML.comment/1 or a raw {:comment, text} simple-form child to Saxy.encode!/2 or Saxy.encode_to_iodata!/2 - so applications that only parse XML or never emit comments from untrusted data are unaffected; no public exploit identified at time of analysis, and our assessment scores it integrity-only with changed scope (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N, unauthenticated per the vector), which is higher than the vendor's CVSS 4.0 score of 2.1 because the vendor rates it local with attack prerequisites.

XSS Elixir Saxy
NVD GitHub
CVSS 4.0
2.1
EPSS
0.2%
EPSS 0% CVSS 2.1
LOW PATCH Monitor

XML injection in the Saxy encoder (saxy 0.7.0 up to, but not including, 1.7.0) lets an attacker break out of a CDATA section and inject markup that downstream consumers treat as genuine document structure. The flaw only bites applications that themselves pass untrusted text into Saxy.XML.cdata/1 and then serialize with Saxy.encode!/2 or Saxy.encode_to_iodata!/2: the CDATA path performs no neutralization of the ]]> terminator, so everything after it is emitted as live markup, allowing forged or overridden sibling elements and attributes in generated SOAP, RSS/Atom, sitemap, SVG or XML export documents. Impact is confined to document integrity (no confidentiality or availability effect), the char-data and attribute paths are safe, and no public exploit code was identified at time of analysis; vendor fix is released in 1.7.0, and the priority decision is monitor.

Elixir Saxy
NVD GitHub
EPSS 0% CVSS 2.1
LOW PATCH Monitor

XML injection in the Saxy Elixir library (versions 0.7.0 through 1.6.x) lets attacker-influenced data written into a processing instruction escape the <?...?> construct and be serialized as ordinary markup at document level, so the tree the application encodes and the tree a downstream parser reads back diverge. The flaw is reachable through the documented public builder Saxy.XML.processing_instruction/2 without any API misuse, and enables forged elements, attributes, further processing instructions, or rendering directives in the output; character data, attribute values, and comments are escaped normally, so only applications that route untrusted input into a PI are affected. The CVSS 4.0 base score is 2.1 (AT:P, integrity-only, S:I) and the independent assessment scores it CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N; no public exploit has been identified at time of analysis and vendor priority is 'monitor', so real-world urgency is low and entirely dependent on what consumes the serialized document.

Elixir Saxy
NVD GitHub
EPSS 0% CVSS 2.1
LOW PATCH Monitor

Comment-node XML injection in the Saxy Elixir XML library (versions 0.7.0 up to but not including 1.7.0) lets attacker-controlled text that an application serializes as a comment escape the <!-- ... --> delimiters and inject sibling markup into the encoded document. The impact materializes only downstream: when the serialized output is rendered as HTML or SVG the injected markup executes as stored cross-site scripting, and when it is consumed by another XML processor the attacker can forge elements, attributes and text the producing application never built. The trigger is a specific usage pattern - passing untrusted text through Saxy.XML.comment/1 or a raw {:comment, text} simple-form child to Saxy.encode!/2 or Saxy.encode_to_iodata!/2 - so applications that only parse XML or never emit comments from untrusted data are unaffected; no public exploit identified at time of analysis, and our assessment scores it integrity-only with changed scope (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N, unauthenticated per the vector), which is higher than the vendor's CVSS 4.0 score of 2.1 because the vendor rates it local with attack prerequisites.

XSS Elixir Saxy
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy