[Security] Stored SQL Injection via Export Template — 5 sinks (CWE-89)

Author: TuanHung1149Created Jul 31, 2026Updated Jul 31, 2026

Security Vulnerability Report

Discovered by: SuyZ (UIT — University of Information Technology, Ho Chi Minh City)

I've discovered 5 stored SQL injection sinks in the Export Template functionality:

  1. condition.Column — raw fmt.Sprintf in sys_export_template.go:226
  2. condition.Operator — same line
  3. template.SQLdb.Raw()
  4. JoinTemplatedb.Joins()
  5. tableNamedb.Table()

CreateSysExportTemplate only validates Name, NOT these fields. Default credentials admin/123456.

HIGH (CVSS 8.6) | 6/6 Go test PoC PASS | All 5 DB backends affected

Per SECURITY.md, I will also send the full report to [email protected].

Source: flipped-aurora/gin-vue-admin