Safeguard
Tag

sql-injection

Safeguard articles tagged "sql-injection" — guides, analysis, and best practices for software supply chain and application security.

67 articles

Security

What Is Literal SQL Statement Injection, and How Do You Stop It?

Literal SQL statement injection happens when user input is concatenated straight into a query string. Here is how the attack works and how to shut it down.

May 27, 20256 min read
Open Source

Is the npm mysql Package Safe? A Security Review

A security-focused look at the npm mysql driver: SQL injection risks, prepared statements, connection handling, and why most teams should move to mysql2.

May 27, 20256 min read
Security

SQLi Cheat Sheet: Detection and Defense Guide

A practical SQLi cheat sheet covering how injection works, the patterns to recognize, and the parameterized-query defenses that actually stop it.

May 20, 20256 min read
Vulnerabilities

SQL Injection Prevention Cheat Sheet

A practitioner's SQL injection cheatsheet: parameterized queries, safe ORM use, input validation, least privilege, and the exact patterns to ban in review.

Apr 22, 20256 min read
Security

The Most Common Java Security Flaws and How to Fix Them

A practitioner's tour of the Java security flaws that actually break production systems — deserialization, injection, XXE, and the dependency risks that scanners miss.

Apr 17, 20257 min read
Security

PHP Application Security: A Practical Guide to Locking Down Your Code

PHP application security comes down to a handful of high-impact controls. Here is how to handle injection, sessions, uploads, and dependencies without the theory.

Apr 9, 20256 min read
AppSec

SQL Injection Commands Explained: How the Attack Works and How to Stop It

Understanding the SQL injection commands attackers rely on is the fastest way to learn how to defend against them. This guide explains the classes conceptually and focuses on detection and remediation.

Apr 3, 20256 min read
Security

CVE-2020-25638: SQL Injection in Hibernate ORM Explained

CVE-2020-25638 is a SQL injection flaw in hibernate-core that surfaces when SQL comments are enabled and literals are used in JPA Criteria queries. Here is who is affected and how to remediate it.

Mar 5, 20255 min read
AppSec

SQL Injection Tutorial: How It Works and How to Stop It

This SQL injection tutorial explains the attack conceptually and focuses on what actually matters: detecting the flaw in your own code and closing it with parameterized queries.

Mar 4, 20256 min read
AppSec

How to Avoid SQL Injection: A Developer's Guide

To avoid SQL injection, never build queries by concatenating user input, use parameterized queries everywhere, and treat every input as untrusted. Here's the defensive playbook.

Mar 4, 20257 min read
AppSec

WAF SQL Injection Protection: What It Catches and What It Misses

A WAF can block many SQL injection attempts at the edge, but treating it as your only defense is how breaches happen. Here is what WAF SQL injection rules actually do.

Feb 24, 20255 min read
Vulnerability Response

CVE-2025-1094 in PostgreSQL psql: Patch Posture & SBOM Response

PostgreSQL psql SQL injection scored CVSS 8.1 and patched in 17.3 / 16.7 / 15.11 / 14.16 / 13.19. Defender SBOM and rollout playbook.

Feb 15, 20257 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.

sql-injection (Page 5) — Safeguard Blog