Skip to content
Heist/ feed
Back to feed
Critical

Incorrect parsing of the backslash characters in Dart library

Type: advisorySources: OSV

The implementation of backslash parsing in the Dart URI class for versions prior to 2.18 and Flutter versions prior to 3.30 differs from the WhatWG URL standards. Dart uses the RFC 3986 syntax, which creates incompatibilities with the '\' characters in URIs, which can lead to auth bypass in webapps interpreting URIs. We recommend updating Dart or Flutter to mitigate the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-3095
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:40 UTC · Revision 1

Source evidence

Incorrect parsing of the backslash characters in Dart library

core-osv · Original source

Published 27 Oct 2022, 00:00 UTC

The implementation of backslash parsing in the Dart URI class for versions prior to 2.18 and Flutter versions prior to 3.30 differs from the WhatWG URL standards. Dart uses the RFC 3986 syntax, which creates incompatibilities with the '\' characters in URIs, which can lead to auth bypass in webapps interpreting URIs. We recommend updating Dart or Flutter to mitigate the issue.

osv:CVE-2022-3095
Complete source record
{
  "id": "9f1fd824954b4da7c7c8355aab70a7846a3087a1748864d6a82f26418a1ed05e",
  "url": "https://osv.dev/vulnerability/CVE-2022-3095",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Incorrect parsing of the backslash characters in Dart library",
    "summary": "The implementation of backslash parsing in the Dart URI class for versions prior to 2.18 and Flutter versions prior to 3.30 differs from the WhatWG URL standards. Dart uses the RFC 3986 syntax, which creates incompatibilities with the '\\' characters in URIs, which can lead to auth bypass in webapps interpreting URIs. We recommend updating Dart or Flutter to mitigate the issue.",
    "evidence": "osv:CVE-2022-3095",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2022-3095",
      "aliases": [
        "CVE-2022-3095"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dart-lang/sdk",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "63c2197b976931c6472d9dc9574f98ff2ae9408c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dart:dart_software_development_kit:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.18.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/flutter/flutter",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "18a827f3933c19f51862dde3fa472197683249d6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:flutter:flutter:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.17.7",
            "2.17.6",
            "2.17.5",
            "2.17.3",
            "2.17.1",
            "2.17.0",
            "2.16.2",
            "2.16.1",
            "2.16.0",
            "2.15.1",
            "2.15.0",
            "2.14.4",
            "2.14.3",
            "2.14.2",
            "2.14.1",
            "2.14.0",
            "2.13.4",
            "2.13.3",
            "2.13.1",
            "2.13.0",
            "2.12.4",
            "2.12.3",
            "2.12.2",
            "2.12.1",
            "2.12.0",
            "2.10.5",
            "2.10.4",
            "2.10.3",
            "2.10.2",
            "2.10.1",
            "2.10.0",
            "2.9.3",
            "2.9.2",
            "2.9.1",
            "2.9.0",
            "2.8.4",
            "2.8.3",
            "2.8.2",
            "2.8.1",
            "2.7.2",
            "2.7.1",
            "2.7.0",
            "2.6.1",
            "2.6.0",
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.4.1",
            "2.4.0",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.0",
            "2.1.1",
            "2.1.0",
            "2.0.0",
            "1.24.3",
            "1.24.2",
            "1.24.1",
            "1.24.0",
            "1.23.0",
            "1.22.1",
            "1.22.0",
            "1.21.1",
            "1.21.0",
            "1.20.1",
            "1.20.0",
            "1.19.1",
            "1.19.0",
            "1.18.1",
            "1.18.0",
            "1.17.1",
            "1.17.0",
            "1.16.1",
            "1.16.0",
            "1.15.0",
            "1.14.2",
            "1.14.1",
            "1.14.0",
            "1.13.2",
            "1.13.1",
            "1.13.0",
            "1.12.2",
            "1.12.1",
            "1.12.0",
            "1.11.3",
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.11.0-dev.5.7",
            "1.11.0-dev.5.6",
            "1.11.0-dev.5.5",
            "1.11.0-dev.5.4",
            "1.11.0-dev.5.3",
            "1.11.0-dev.5.2",
            "1.11.0-dev.5.1",
            "1.11.0-dev.5.0",
            "1.11.0-dev.4.0",
            "1.11.0-dev.3.0",
            "1.11.0-dev.2.0",
            "3.3.2",
            "3.3.1",
            "3.3.0",
            "3.3.0-0.5.pre",
            "3.3.0-0.4.pre",
            "3.3.0-0.3.pre",
            "3.3.0-0.2.pre",
            "3.3.0-0.1.pre",
            "3.3.0-0.0.pre",
            "3.0.0-0.0.pre",
            "2.12.0-4.0.pre",
            "2.10.0-0.0.pre",
            "2.9.0-0.0.pre",
            "2.6.0-11.0.pre",
            "2.6.0-5.0.pre",
            "2.6.0-0.0.pre",
            "2.5.0-5.0.pre",
            "2.5.0-6.0.pre",
            "2.5.0-1.0.pre",
            "2.4.0-4.0.pre",
            "2.4.0-0.0.pre",
            "2.3.0-16.0.pre",
            "2.3.0-12.0.pre",
            "2.3.0-1.0.pre",
            "2.3.0-0.0.pre",
            "2.2.0-10.0.pre",
            "2.1.0-12.0.pre",
            "2.1.0-10.0.pre",
            "1.27.0-8.0.pre",
            "1.27.0-4.0.pre",
            "1.27.0-1.0.pre",
            "1.26.0-17.0.pre",
            "1.26.0-12.0.pre",
            "1.25.0-8.0.pre",
            "1.26.0-1.0.pre",
            "1.25.0-4.0.pre",
            "1.24.0-7.0.pre",
            "1.24.0-6.0.pre",
            "1.24.0-3.0.pre",
            "1.23.0-18.0.pre",
            "1.24.0-1.0.pre",
            "1.23.0-13.0.pre",
            "1.23.0-7.0.pre",
            "1.23.0-3.0.pre",
            "1.22.0-9.0.pre",
            "1.22.0-1.0.pre",
            "1.21.0-9.0.pre",
            "1.21.0-7.0.pre",
            "1.21.0-5.0.pre",
            "1.21.0-1.0.pre",
            "1.20.0-7.0.pre",
            "1.20.0-2.0.pre",
            "1.20.0-0.0.pre",
            "1.19.0-5.0.pre",
            "1.19.0-3.0.pre",
            "1.19.0-2.0.pre",
            "1.18.0-12.0.pre",
            "1.19.0-1.0.pre",
            "1.19.0-0.0.pre",
            "1.18.0-13.0.pre",
            "1.18.0-11.0.pre",
            "1.18.0-10.0.pre",
            "1.18.0-8.0.pre",
            "1.18.0-7.0.pre",
            "1.18.0-6.0.pre",
            "1.18.0-dev.5.0",
            "1.18.0-dev.4.0",
            "1.18.0-dev.3.0",
            "1.17.0-dev.3.0",
            "1.18.0-dev.2.0",
            "1.18.0-dev.1.0",
            "1.18.0-dev.0.0",
            "1.17.0-dev.5.0",
            "1.17.0-dev.4.0",
            "1.17.0-dev.2.0",
            "1.17.0-dev.1.0",
            "1.17.0-dev.0.0",
            "v1.16.3",
            "v1.16.2",
            "v1.16.1",
            "v1.16.0",
            "v1.15.22",
            "v1.15.21",
            "v1.15.20",
            "v1.15.19",
            "flutter-0.0-candidate.1",
            "v1.15.18",
            "v1.15.17",
            "v1.15.16",
            "v1.15.15",
            "v1.15.14",
            "v1.15.13",
            "v1.15.12",
            "v1.15.11",
            "v1.15.10",
            "v1.15.9",
            "v1.15.8",
            "v1.15.7",
            "v1.15.6",
            "v1.15.5",
            "v1.15.4",
            "v1.15.3",
            "v1.15.2",
            "v1.15.1",
            "v1.15.0",
            "v1.14.6",
            "v1.14.5",
            "v1.14.4",
            "v1.14.3",
            "v1.14.2",
            "v1.14.1",
            "v1.14.0",
            "v1.13.9",
            "v1.13.8",
            "v1.13.7",
            "v1.13.6",
            "v1.13.5",
            "v1.13.4",
            "v1.13.3",
            "v1.13.2",
            "v1.13.1",
            "v1.13.0",
            "v1.12.13",
            "v1.12.16",
            "v1.12.15",
            "v1.12.14",
            "v1.12.12",
            "v1.12.11",
            "v1.12.10",
            "v1.12.9",
            "v1.12.8",
            "v1.12.7",
            "v1.12.6",
            "v1.12.5",
            "v1.12.4",
            "v1.12.3",
            "v1.12.2",
            "v1.12.1",
            "v1.12.0",
            "v1.11.0",
            "v1.10.16",
            "v1.10.15",
            "v1.10.14",
            "v1.10.13",
            "v1.10.12",
            "v1.10.11",
            "v1.10.10",
            "v1.10.9",
            "v1.10.8",
            "v1.10.7",
            "v1.10.6",
            "v1.10.5",
            "v1.10.4",
            "v1.10.3",
            "v1.10.2",
            "v1.10.1",
            "v1.10.0",
            "v1.9.1",
            "v1.9.7",
            "v1.9.6",
            "v1.9.5",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.0",
            "v1.8.4",
            "v1.8.3",
            "v1.8.1",
            "v1.7.8",
            "v1.8.0",
            "v1.7.11",
            "v1.7.10",
            "v1.7.9",
            "v1.7.7",
            "v1.7.6",
            "v1.7.5",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.7",
            "v1.6.6",
            "v1.6.5",
            "v1.6.4",
            "v1.6.3",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.4",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.2",
            "v1.5.3",
            "v1.5.1",
            "v1.5.0",
            "v1.4.19",
            "v1.4.9",
            "v1.4.18",
            "v1.4.17",
            "v1.4.16",
            "v1.4.15",
            "v1.4.14",
            "v1.4.13",
            "v1.4.12",
            "v1.4.11",
            "v1.4.10",
            "v1.4.8",
            "v1.4.6",
            "v1.4.7",
            "v1.4.5",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.14",
            "v1.3.13",
            "v1.3.12",
            "v1.3.11",
            "v1.3.10",
            "v1.3.9",
            "v1.3.8",
            "v1.3.7",
            "v1.3.6",
            "v1.3.5",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.9",
            "v1.1.8",
            "v1.1.7",
            "v1.1.6",
            "v1.1.5",
            "v1.1.4",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "v0.11.13",
            "v0.11.12",
            "v0.11.11",
            "v0.11.10",
            "v0.11.9",
            "v0.11.8",
            "v0.11.7",
            "v0.11.6",
            "v0.11.5",
            "v0.11.4",
            "v0.11.3",
            "v0.11.2",
            "v0.11.1",
            "v0.11.0",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.9.6",
            "v0.9.5",
            "v0.9.4",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.7",
            "v0.8.6",
            "v0.8.5",
            "v0.8.4",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.5",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.8",
            "v0.5.7",
            "v0.5.6",
            "v0.5.5",
            "v0.5.4",
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.6",
            "v0.3.5",
            "v0.3.4",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.11",
            "v0.2.10",
            "v0.2.9",
            "v0.2.8",
            "v0.2.7",
            "v0.2.6",
            "v0.2.5",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.9",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0",
            "v0.0.24",
            "v0.0.23",
            "v0.0.22",
            "v0.0.21",
            "0.0.21",
            "v0.0.20",
            "0.0.20",
            "v0.0.19",
            "0.0.19",
            "v0.0.18",
            "0.0.18",
            "v0.0.17",
            "0.0.17",
            "v0.0.16",
            "0.0.16",
            "v0.0.15",
            "0.0.15",
            "v0.0.14",
            "0.0.14",
            "v0.0.13",
            "0.0.13",
            "v0.0.12",
            "0.0.12",
            "v0.0.11",
            "0.0.11",
            "v0.0.10",
            "0.0.10",
            "v0.0.9",
            "0.0.9",
            "v0.0.8",
            "0.0.8",
            "v0.0.7",
            "0.0.7",
            "v0.0.6",
            "0.0.6",
            "v0.0.20-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3095.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.672282262Z",
      "provider": "osv",
      "references": [
        "https://github.com/dart-lang/sdk/blob/master/CHANGELOG.md#2182---2022-09-28",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3095.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-3095"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "Google",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3095.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-3095",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492504,
  "published_at": "2022-10-27T00:00:00+00:00"
}