{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.1.0"
              },
              {
                "introduced": "0"
              },
              {
                "fixed": "1.22.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "6fac0255b37ac468f8dde5b0da56d1b60e528310"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "300f130705f3b358039b8e848f659f971045b88b"
            },
            {
              "fixed": "040895b7e554f4afbbf1a0dbd239eb2b85de7c32"
            },
            {
              "fixed": "35e689c904225add78e0c488cf04bad052666449"
            },
            {
              "fixed": "e0c95d5abe91b237becb90ff316531a6547ada18"
            }
          ],
          "repo": "https://github.com/premailer/css_parser",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ff6c-w6qf-7xqc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-295",
      "CWE-829"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44312.json"
  },
  "details": "css_parser is a Ruby CSS parser. Prior to 2.1.0 and 1.22.0, the CSS Parser gem does not validate HTTPS connections, allowing a Man-in-the-Middle (MITM) attacker to inject or modify CSS content when stylesheets are loaded via HTTPS. The connection is established with OpenSSL::SSL::VERIFY_NONE, meaning any HTTPS certificate—even entirely untrusted—will be accepted without validation. This vulnerability is fixed in 2.1.0 and 1.22.0.",
  "id": "CVE-2026-44312",
  "modified": "2026-07-15T01:49:07.862469212Z",
  "published": "2026-05-14T16:15:04.907Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44312.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/premailer/css_parser/security/advisories/GHSA-ff6c-w6qf-7xqc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-44312"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/premailer/css_parser/issues/185"
    },
    {
      "type": "FIX",
      "url": "https://github.com/premailer/css_parser/commit/35e689c904225add78e0c488cf04bad052666449"
    },
    {
      "type": "FIX",
      "url": "https://github.com/premailer/css_parser/commit/e0c95d5abe91b237becb90ff316531a6547ada18"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "css_parser allows to MITM included https css urls"
}