{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.6"
                  },
                  {
                    "last_affected": "2.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.15"
                  },
                  {
                    "last_affected": "2.15"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.16"
                  },
                  {
                    "last_affected": "2.16"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.17"
                  },
                  {
                    "last_affected": "2.17"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.18"
                  },
                  {
                    "last_affected": "2.18"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.19"
                  },
                  {
                    "last_affected": "2.19"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.20"
                  },
                  {
                    "last_affected": "2.20"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.21"
                  },
                  {
                    "last_affected": "2.21"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.22"
                  },
                  {
                    "last_affected": "2.22"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.23"
                  },
                  {
                    "last_affected": "2.23"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.24"
                  },
                  {
                    "last_affected": "2.24"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.25"
                  },
                  {
                    "last_affected": "2.25"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.26.0"
                  },
                  {
                    "last_affected": "2.26.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "9ca43c4a7b6764c5a6ac11a2ccc099b036ee3cef"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.27.0",
                "range": [
                  {
                    "fixed": "dc644958c716ac393c63daeb98891c66eaae8ccd"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "a8ab719b1bd576b604d0f1a230f10a5b48850b70"
            },
            {
              "fixed": "9ca43c4a7b6764c5a6ac11a2ccc099b036ee3cef"
            },
            {
              "fixed": "dc644958c716ac393c63daeb98891c66eaae8ccd"
            }
          ],
          "repo": "https://github.com/typemill/typemill",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.15",
        "2.16",
        "2.17",
        "2.18",
        "2.19",
        "2.20",
        "2.21",
        "2.22",
        "2.23",
        "2.24",
        "2.25",
        "2.26.0",
        "2.6"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-79",
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120218.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "2.0"
              },
              {
                "last_affected": "2.0"
              },
              {
                "introduced": "2.1"
              },
              {
                "last_affected": "2.1"
              },
              {
                "introduced": "2.2"
              },
              {
                "last_affected": "2.2"
              },
              {
                "introduced": "2.3"
              },
              {
                "last_affected": "2.3"
              },
              {
                "introduced": "2.4"
              },
              {
                "last_affected": "2.4"
              },
              {
                "introduced": "2.5"
              },
              {
                "last_affected": "2.5"
              },
              {
                "introduced": "2.7"
              },
              {
                "last_affected": "2.7"
              },
              {
                "introduced": "2.8"
              },
              {
                "last_affected": "2.8"
              },
              {
                "introduced": "2.9"
              },
              {
                "last_affected": "2.9"
              },
              {
                "introduced": "2.10"
              },
              {
                "last_affected": "2.10"
              },
              {
                "introduced": "2.11"
              },
              {
                "last_affected": "2.11"
              },
              {
                "introduced": "2.12"
              },
              {
                "last_affected": "2.12"
              },
              {
                "introduced": "2.13"
              },
              {
                "last_affected": "2.13"
              },
              {
                "introduced": "2.14"
              },
              {
                "last_affected": "2.14"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
          }
        ]
      }
    ]
  },
  "details": "A flaw has been found in Typemill up to 2.26.0. The impacted element is the function ControllerApiImage::saveImage of the file system/typemill/Models/SvgSanitizer.php. Executing a manipulation can lead to cross site scripting. The attack may be performed from remote. The exploit has been published and may be used. Upgrading to version 2.27.0 is sufficient to resolve this issue. This patch is called 9ca43c4a7b6764c5a6ac11a2ccc099b036ee3cef. It is recommended to upgrade the affected component.",
  "id": "CVE-2026-120218",
  "modified": "2026-11-08T02:30:52.675401716Z",
  "published": "2026-11-01T06:30:17.213Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/typemill/typemill/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120218.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120218"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-120218"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/992817"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/429569"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/429569/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/typemill/typemill/commit/9ca43c4a7b6764c5a6ac11a2ccc099b036ee3cef"
    },
    {
      "type": "FIX",
      "url": "https://github.com/typemill/typemill/releases/tag/v2.27.0"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Typemill SvgSanitizer.php saveImage cross site scripting"
}