Skip to main content
. 2025 Jul 16;11:e2975. doi: 10.7717/peerj-cs.2975

Table 5. Area under the ROC curve (AUC) scores of machine learning algorithms for injection attack detection.

ML-ALGORITMS AUC
XSS SQL OSC LFI
Logistic Regression 0.9946 0.7155 0.9955 0.9521
Naive Bayes 0.9942 0.6872 0.9903 0.9527
KNN 0.9966 0.9752 0.9864 0.9432
SVM 0.9974 0.9979 0.9863 0.9517
Decision Tree 0.9976 0.9988 0.9963 0.9527