Skip to content
Heist/ feed
Back to feed
Medium

fast-xml-builder: Comment Value bypass regex

Type: advisorySources: OSV

fast-xml-builder builds XML from JSON. In 1.1.5, the fix for CVE-2026-41650 in fast-xml-parser sanitizes -- sequences in XML comment content using .replace(/--/g, '- -'). This skip the values containing three consecutive dashes (e.g., --->...), allowing an attacker to break out of an XML comment and inject arbitrary XML/HTML content. This vulnerability is fixed in 1.1.6.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-44664
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:05 UTC · Revision 1

Source evidence

fast-xml-builder: Comment Value bypass regex

core-osv · Original source

Published 13 May 2026, 15:27 UTC

fast-xml-builder builds XML from JSON. In 1.1.5, the fix for CVE-2026-41650 in fast-xml-parser sanitizes -- sequences in XML comment content using .replace(/--/g, '- -'). This skip the values containing three consecutive dashes (e.g., --->...), allowing an attacker to break out of an XML comment and inject arbitrary XML/HTML content. This vulnerability is fixed in 1.1.6.

osv:CVE-2026-44664
Complete source record
{
  "id": "e3d247d54175382c5614f72bbf7dd379bf80bdcf17619084444b34e41c450379",
  "url": "https://osv.dev/vulnerability/CVE-2026-44664",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "fast-xml-builder: Comment Value bypass regex",
    "summary": "fast-xml-builder builds XML from JSON. In 1.1.5, the fix for CVE-2026-41650 in fast-xml-parser sanitizes -- sequences in XML comment content using .replace(/--/g, '- -'). This skip the values containing three consecutive dashes (e.g., --->...), allowing an attacker to break out of an XML comment and inject arbitrary XML/HTML content. This vulnerability is fixed in 1.1.6.",
    "evidence": "osv:CVE-2026-44664",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-44664",
      "aliases": [
        "CVE-2026-44664",
        "GHSA-45c6-75p6-83cc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/naturalintelligence/fast-xml-builder",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5342696bfc93f93eb4df813fe3787edd86db96e1"
                },
                {
                  "fixed": "b74fb4c4037345262fddb44bf28c88395d08ff84"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.1.5"
                      },
                      {
                        "last_affected": "1.1.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.1.6"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.1.5",
            "v1.1.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44664.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.344193741Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44664.json",
        "https://github.com/NaturalIntelligence/fast-xml-builder/security/advisories/GHSA-45c6-75p6-83cc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-44664"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-91"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44664.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-44664",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499540,
  "published_at": "2026-05-13T15:27:34.716+00:00"
}