Skip to content
Heist/ feed
Back to feed
Medium

node-webfont — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-33349

fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From version 4.0.0-beta.3 to before version 5.5.7, the DocTypeReader in fast-xml-parser uses JavaScript truthy checks to evaluate maxEntityCount and maxEntitySize configuration limits. When a developer explicitly sets either limit to 0 — intending to disallow all entities or restrict entity size to zero bytes — the falsy nature of 0 in JavaScript causes the guard conditions to short-circuit, completely bypassing the limits. An attacker who can supply XML input to such an application can trigger unbounded entity expansion, leading to memory exhaustion and denial of service. This issue has been patched in version 5.5.7.

Products
node-webfont
Affected versions
11.4.0+dfsg2+~cs35.7.26-10, 11.4.0+dfsg2+~cs35.7.26-13ubuntu2, 11.4.0+dfsg2+~cs35.7.26-14, 11.4.0+dfsg2+~cs35.7.26-15, 11.4.0+dfsg2+~cs35.7.26-16build1, 11.4.0+dfsg2+~cs35.7.26-18, 11.4.0+dfsg2+~cs35.7.26-19, 11.4.0+dfsg2+~cs35.7.26-7ubuntu1
Fixed versions
Not specified
CVEs
CVE-2026-33349
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:07 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-33349

core-osv · Original source

Published 24 Mar 2026, 20:16 UTC

fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From version 4.0.0-beta.3 to before version 5.5.7, the DocTypeReader in fast-xml-parser uses JavaScript truthy checks to evaluate maxEntityCount and maxEntitySize configuration limits. When a developer explicitly sets either limit to 0 — intending to disallow all entities or restrict entity size to zero bytes — the falsy nature of 0 in JavaScript causes the guard conditions to short-circuit, completely bypassing the limits. An attacker who can supply XML input to such an application can trigger unbounded entity expansion, leading to memory exhaustion and denial of service. This issue has been patched in version 5.5.7.

osv:UBUNTU-CVE-2026-33349

node-webfont

Fixed versions: Not specified

node-webfont

Fixed versions: Not specified

node-webfont

Fixed versions: Not specified

node-webfont

Fixed versions: Not specified

Complete source record
{
  "id": "9eed500d4eb5d16ee7b5759f13600b3e52d7b5b0941932fb044fe852f8924dec",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-33349",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-33349",
    "summary": "fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From version 4.0.0-beta.3 to before version 5.5.7, the DocTypeReader in fast-xml-parser uses JavaScript truthy checks to evaluate maxEntityCount and maxEntitySize configuration limits. When a developer explicitly sets either limit to 0 — intending to disallow all entities or restrict entity size to zero bytes — the falsy nature of 0 in JavaScript causes the guard conditions to short-circuit, completely bypassing the limits. An attacker who can supply XML input to such an application can trigger unbounded entity expansion, leading to memory exhaustion and denial of service. This issue has been patched in version 5.5.7.",
    "evidence": "osv:UBUNTU-CVE-2026-33349",
    "products": [
      {
        "name": {
          "value": "node-webfont",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-7ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-webfont",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-10",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-13ubuntu2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-webfont",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-18",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-19",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-webfont",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-13ubuntu2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-14",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-15",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-16build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "11.4.0+dfsg2+~cs35.7.26-18",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-33349",
      "aliases": [
        "UBUNTU-CVE-2026-33349"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-webfont",
            "purl": "pkg:deb/ubuntu/node-webfont?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "11.4.0+dfsg2+~cs35.7.26-7ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-webfont",
                "binary_version": "11.4.0+dfsg2+~cs35.7.26-7ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-webfont",
            "purl": "pkg:deb/ubuntu/node-webfont?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "11.4.0+dfsg2+~cs35.7.26-10",
            "11.4.0+dfsg2+~cs35.7.26-13ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-webfont",
                "binary_version": "11.4.0+dfsg2+~cs35.7.26-13ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-webfont",
            "purl": "pkg:deb/ubuntu/node-webfont?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "11.4.0+dfsg2+~cs35.7.26-18",
            "11.4.0+dfsg2+~cs35.7.26-19"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-webfont",
                "binary_version": "11.4.0+dfsg2+~cs35.7.26-19"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-webfont",
            "purl": "pkg:deb/ubuntu/node-webfont?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "11.4.0+dfsg2+~cs35.7.26-13ubuntu2",
            "11.4.0+dfsg2+~cs35.7.26-14",
            "11.4.0+dfsg2+~cs35.7.26-15",
            "11.4.0+dfsg2+~cs35.7.26-16build1",
            "11.4.0+dfsg2+~cs35.7.26-18"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33349.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-webfont",
                "binary_version": "11.4.0+dfsg2+~cs35.7.26-18"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:10.614521227Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-33349"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-33349",
        "https://www.cve.org/CVERecord?id=CVE-2026-33349",
        "https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-jp2q-39xq-3w4g",
        "https://github.com/NaturalIntelligence/fast-xml-parser/commit/239b64aa1fc5c5455ddebbbb54a187eb68c9fdb7"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-33349",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358283,
  "published_at": "2026-03-24T20:16:00+00:00"
}