SQL Injection Affecting github.com/suyuan32/simple-admin-core/api/internal/types package, versions >=1.2.0 <1.6.8


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSUYUAN32SIMPLEADMINCOREAPIINTERNALTYPES-12220656
  • published28 Aug 2025
  • disclosed27 Aug 2025
  • creditUnknown

Introduced: 27 Aug 2025

NewCVE-2025-51667  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade github.com/suyuan32/simple-admin-core/api/internal/types to version 1.6.8 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via the /sys-api/role/update interface. An attacker can access sensitive data or disrupt normal system operations by sending specially crafted requests.

CVSS Base Scores

version 4.0
version 3.1