Skip to content
Heist/ feed
Back to feed
High

ReDOS at currency parsing fast-xml-parser

Type: advisorySources: OSV

fast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This vulnerability is fixed in 4.4.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-41818
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:54 UTC · Revision 1

Source evidence

ReDOS at currency parsing fast-xml-parser

core-osv · Original source

Published 29 Jul 2024, 15:56 UTC

fast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This vulnerability is fixed in 4.4.1.

osv:CVE-2024-41818
Complete source record
{
  "id": "b8b3f5facb3a30be305b24531480fe36930c944c83d21fe9349072854cc62618",
  "url": "https://osv.dev/vulnerability/CVE-2024-41818",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ReDOS at currency parsing fast-xml-parser",
    "summary": "fast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This vulnerability is fixed in 4.4.1.",
    "evidence": "osv:CVE-2024-41818",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-41818",
      "aliases": [
        "CVE-2024-41818",
        "GHSA-mpg4-rc92-vx8v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/naturalintelligence/fast-xml-parser",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ba5f35e7680468acd7906eaabb2f69e28ed8b2aa"
                },
                {
                  "fixed": "d40e29cc4bbe637d7c95060b44f7a4d275facd01"
                },
                {
                  "fixed": "ba5f35e7680468acd7906eaabb2f69e28ed8b2aa"
                },
                {
                  "fixed": "d0bfe8a3a2813a185f39591bbef222212d856164"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.3.5"
                      },
                      {
                        "fixed": "4.4.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ba5f35e7680468acd7906eaabb2f69e28ed8b2aa"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d0bfe8a3a2813a185f39591bbef222212d856164"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.2.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41818.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.553891203Z",
      "provider": "osv",
      "references": [
        "https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41818.json",
        "https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-mpg4-rc92-vx8v",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-41818",
        "https://github.com/NaturalIntelligence/fast-xml-parser/commit/ba5f35e7680468acd7906eaabb2f69e28ed8b2aa",
        "https://github.com/NaturalIntelligence/fast-xml-parser/commit/d0bfe8a3a2813a185f39591bbef222212d856164"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41818.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-41818",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490020,
  "published_at": "2024-07-29T15:56:38.999+00:00"
}