Glioblastoma multiforme (GBM), a common malignant neurological tumor, has boundaries indistinguishable from those of normal tissue, making complete surgical removal ineffective. The blood-brain barrier (BBB) further impedes the efficacy of radiotherapy and chemotherapy, leading to suboptimal treatment outcomes and a heightened probability of recurrence. Hydrogels offer multiple advantages for GBM diagnosis and treatment, including overcoming the BBB for improved drug delivery, controlled drug release for long-term efficacy, and enhanced relaxation properties of magnetic resonance imaging (MRI) contrast agents. Hydrogels, with their excellent biocompatibility and customizability, can mimic the