Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-7753

An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-7753
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:31 UTC · Revision 1

Source evidence

CVE-2018-7753

core-osv · Original source

Published 7 Mar 2018, 23:29 UTC

An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized.

osv:CVE-2018-7753
Complete source record
{
  "id": "1e30f2278d7c2cdfb1eab1f225cdbccf8f1202cf91ba3d5e32c15943aab13f38",
  "url": "https://osv.dev/vulnerability/CVE-2018-7753",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-7753",
    "summary": "An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized.",
    "evidence": "osv:CVE-2018-7753",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2018-7753",
      "aliases": [
        "CVE-2018-7753",
        "GHSA-m9mq-p2f9-cfqv",
        "PYSEC-2018-51"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mozilla/bleach",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cb5f2b865649cebc7bca5c9fba2dfe94aa982b6c"
                },
                {
                  "last_affected": "35d051ca4b54a3a3b16c243cac3f3bb6678e69bb"
                },
                {
                  "fixed": "c5df5789ec3471a31311f42c2d19fc2cf21b35ef"
                },
                {
                  "fixed": "9584f42051c0039cb0f27a617e8ab3e945018cc6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mozilla:bleach:2.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1"
                      },
                      {
                        "last_affected": "2.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mozilla:bleach:2.1.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.1"
                      },
                      {
                        "last_affected": "2.1.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mozilla:bleach:2.1.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.2"
                      },
                      {
                        "last_affected": "2.1.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c5df5789ec3471a31311f42c2d19fc2cf21b35ef"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9584f42051c0039cb0f27a617e8ab3e945018cc6"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.1.3"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.1",
            "2.1.1",
            "2.1.2",
            "v2.1.2",
            "v2.1.1",
            "v2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7753.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:31.147976453Z",
      "provider": "osv",
      "references": [
        "https://bugs.debian.org/892252",
        "https://github.com/mozilla/bleach/releases/tag/v2.1.3",
        "https://github.com/mozilla/bleach/commit/c5df5789ec3471a31311f42c2d19fc2cf21b35ef"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-7753",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381792,
  "published_at": "2018-03-07T23:29:00.273+00:00"
}