Refine your search

1 vulnerability found for by dashbitco

CVE-2026-92106 (GCVE-0-2026-92106)
Vulnerability from cvelistv5
Published
2026-09-25 09:33
Modified
2026-09-25 12:41
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Summary
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in dashbitco lazy_html allows mutation XSS via a parse and serialize round-trip of attacker-supplied HTML. LazyHTML.to_html/2 and LazyHTML.Tree.to_html/2 decide whether to escape an element's text from its tag name alone. A style or script element inside SVG or MathML foreign content is parsed with character references decoded, but is serialized as an HTML raw-text element, so its text is emitted unescaped. Encoded markup such as &lt;/style&gt;&lt;img src=x onerror=...&gt; inside <svg><style> therefore closes the element on re-parse and becomes live markup. Applications that parse untrusted HTML with lazy_html, filter the document or tree, and serialize it for display are affected, since the payload is a plain text node that no element or attribute filter sees. This issue affects lazy_html: from 0.1.0 before 0.1.13.
Impacted products
Vendor Product Version
dashbitco lazy_html Version: 0.1.0   ≤
    cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*
Create a notification for this product.
   dashbitco lazy_html Version: 1dee15746c024916b3110af8b168c2f3b3065fbd
    cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-92106",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-25T12:35:42.717583Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-25T12:41:30.597Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.LazyHTML.Tree\u0027",
            "\u0027Elixir.LazyHTML\u0027",
            "\u0027Elixir.LazyHTML.NIF\u0027"
          ],
          "packageName": "lazy_html",
          "packageURL": "pkg:hex/lazy_html",
          "product": "lazy_html",
          "programFiles": [
            "lib/lazy_html/tree.ex",
            "lib/lazy_html.ex",
            "c_src/lazy_html.cpp"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.LazyHTML.Tree\u0027:to_html/2"
            },
            {
              "name": "\u0027Elixir.LazyHTML\u0027:to_html/2"
            },
            {
              "name": "is_noescape_text_node"
            }
          ],
          "repo": "https://github.com/dashbitco/lazy_html",
          "vendor": "dashbitco",
          "versions": [
            {
              "lessThan": "0.1.13",
              "status": "affected",
              "version": "0.1.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.LazyHTML.Tree\u0027",
            "\u0027Elixir.LazyHTML\u0027",
            "\u0027Elixir.LazyHTML.NIF\u0027"
          ],
          "packageName": "dashbitco/lazy_html",
          "packageURL": "pkg:github/dashbitco/lazy_html",
          "product": "lazy_html",
          "programFiles": [
            "lib/lazy_html/tree.ex",
            "lib/lazy_html.ex",
            "c_src/lazy_html.cpp"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.LazyHTML.Tree\u0027:to_html/2"
            },
            {
              "name": "\u0027Elixir.LazyHTML\u0027:to_html/2"
            },
            {
              "name": "is_noescape_text_node"
            }
          ],
          "repo": "https://github.com/dashbitco/lazy_html",
          "vendor": "dashbitco",
          "versions": [
            {
              "lessThan": "f32c7fd6223225b68bc8691c78b6d4a77972f1d5",
              "status": "affected",
              "version": "1dee15746c024916b3110af8b168c2f3b3065fbd",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:dashbitco:lazy_html:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.1.13",
                  "versionStartIncluding": "0.1.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jonatan K\u0142osko"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jos\u00e9 Valim"
        }
      ],
      "dateAssigned": "2026-09-24T13:39:50.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eImproper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in dashbitco lazy_html allows mutation XSS via a parse and serialize round-trip of attacker-supplied HTML.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eLazyHTML.to_html/2\u003c/code\u003e and \u003ccode\u003eLazyHTML.Tree.to_html/2\u003c/code\u003e decide whether to escape an element\u0027s text from its tag name alone. A \u003ccode\u003estyle\u003c/code\u003e or \u003ccode\u003escript\u003c/code\u003e element inside SVG or MathML foreign content is parsed with character references decoded, but is serialized as an HTML raw-text element, so its text is emitted unescaped. Encoded markup such as \u003ccode\u003e\u0026amp;lt;/style\u0026amp;gt;\u0026amp;lt;img src=x onerror=...\u0026amp;gt;\u003c/code\u003e inside \u003ccode\u003e\u0026lt;svg\u0026gt;\u0026lt;style\u0026gt;\u003c/code\u003e therefore closes the element on re-parse and becomes live markup. Applications that parse untrusted HTML with lazy_html, filter the document or tree, and serialize it for display are affected, since the payload is a plain text node that no element or attribute filter sees.\u003c/p\u003e\n\u003cp\u003eThis issue affects lazy_html: from 0.1.0 before 0.1.13.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in dashbitco lazy_html allows mutation XSS via a parse and serialize round-trip of attacker-supplied HTML.\n\n`LazyHTML.to_html/2` and `LazyHTML.Tree.to_html/2` decide whether to escape an element\u0027s text from its tag name alone. A `style` or `script` element inside SVG or MathML foreign content is parsed with character references decoded, but is serialized as an HTML raw-text element, so its text is emitted unescaped. Encoded markup such as `\u0026lt;/style\u0026gt;\u0026lt;img src=x onerror=...\u0026gt;` inside `\u003csvg\u003e\u003cstyle\u003e` therefore closes the element on re-parse and becomes live markup. Applications that parse untrusted HTML with lazy_html, filter the document or tree, and serialize it for display are affected, since the payload is a plain text node that no element or attribute filter sees.\n\nThis issue affects lazy_html: from 0.1.0 before 0.1.13."
            }
          ],
          "value": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in dashbitco lazy_html allows mutation XSS via a parse and serialize round-trip of attacker-supplied HTML.\n\nLazyHTML.to_html/2 and LazyHTML.Tree.to_html/2 decide whether to escape an element\u0027s text from its tag name alone. A style or script element inside SVG or MathML foreign content is parsed with character references decoded, but is serialized as an HTML raw-text element, so its text is emitted unescaped. Encoded markup such as \u0026lt;/style\u0026gt;\u0026lt;img src=x onerror=...\u0026gt; inside \u003csvg\u003e\u003cstyle\u003e therefore closes the element on re-parse and becomes live markup. Applications that parse untrusted HTML with lazy_html, filter the document or tree, and serialize it for display are affected, since the payload is a plain text node that no element or attribute filter sees.\n\nThis issue affects lazy_html: from 0.1.0 before 0.1.13."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-63",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAn attacker who can submit HTML to an application that sanitizes it with lazy_html can run script in the browsers of users who view the sanitized output.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "An attacker who can submit HTML to an application that sanitizes it with lazy_html can run script in the browsers of users who view the sanitized output."
                }
              ],
              "value": "An attacker who can submit HTML to an application that sanitizes it with lazy_html can run script in the browsers of users who view the sanitized output."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 2.3,
            "baseSeverity": "LOW",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "LOW",
            "userInteraction": "PASSIVE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "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-09-25T09:33:13.051Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "name": "GitHub Advisory",
          "tags": [
            "related",
            "vendor-advisory"
          ],
          "url": "https://github.com/dashbitco/lazy_html/security/advisories/GHSA-8rqp-v692-v82q"
        },
        {
          "name": "EEF CNA record for CVE-2026-92106",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-92106.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-92106",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-92106"
        },
        {
          "name": "Introducing commit 1dee157 in dashbitco/lazy_html",
          "tags": [
            "related"
          ],
          "url": "https://github.com/dashbitco/lazy_html/commit/1dee15746c024916b3110af8b168c2f3b3065fbd"
        },
        {
          "name": "Fix commit f32c7fd in dashbitco/lazy_html",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/dashbitco/lazy_html/commit/f32c7fd6223225b68bc8691c78b6d4a77972f1d5"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "lazy_html serializes SVG and MathML style and script text unescaped, allowing mutation XSS"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-92106",
    "datePublished": "2026-09-25T09:33:13.051Z",
    "dateReserved": "2026-09-21T12:15:01.326Z",
    "dateUpdated": "2026-09-25T12:41:30.597Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}