Hydroxysafflor yellow A (HSYA) is derived from Carthamus tinctorius L. (Honghua in Chinese) and is used to treat cardiovascular and cerebrovascular disease. However, the mechanism by which HSYA treats ischemic stroke following atherosclerosis (ISFA) remains unclear. The targets and pathways of HSYA against ISFA were obtained using network analysis. A total of 3335 potential IFSA-related targets were predicted using the GenCards and Drugbank databases, and a total of 88 potential HSYA-related targets were predicted using the Swiss Target Prediction database. A total of 62 HSYA-related targets against IFSA were obtained. The network was composed of HSYA, 62 targets, and 20 pathways. The top 20 targets were constructed via the protein–protein interaction (PPI) network. Gene Ontology analysis revealed that the targets were involved in signal transduction, protein phosphorylation, the cytoplasm, the plasma membrane, the cytosol, zinc ion binding, ATP binding, protein kinase binding/activity, and enzyme binding. The Kyoto Encyclopedia of Genes and Genomes pathway enrichment analysis revealed that the pathways were associated with cancer, inflammatory mediator regulation of the transient receptor potential channels, and microRNA in cancer. Additionally, molecular docking indicated that HSYA mainly interacts with five targets, namely interleukin 1 beta (IL-1β), signal transducer and activator of transcription 3 (STAT3), E1A-binding protein p300 (EP300), protein kinase C alpha (PRKCA), and inhibitor of nuclear factor kappa B kinase subunit beta (IKBKB). In animal experiments, HSYA administration ameliorated the infarct size, neurological deficit score, histopathological changes, carotid intima-media thickness (IMT), and blood lipid level (total cholesterol and triglycerides). Immunochemistry and quantitative PCR showed that HSYA intervention downregulated the expression of STAT3, EP300, PRKCA, and IKBKB, and the enzyme-linked immunoassay showed reduced IL-1β levels. The findings of this study provide a reference for the development of anti-ISFA drugs.