Skill 8.5.1

Security weaknesses and vulnerabilities at the source-code level

Key Concepts

Common weaknesses include buffer overflows (writing beyond allocated memory), injection (SQL, command, LDAP) caused by mixing untrusted data with commands, cross-site scripting (untrusted data rendered in browsers), cross-site request forgery, race conditions such as time-of-check to time-of-use (TOCTOU), insecure deserialisation, integer overflows, hardcoded credentials, backdoors and improper error handling that leaks information.

The CWE catalogue classifies weaknesses, and the OWASP Top 10:2025 lists the most critical web application risks: broken access control, security misconfiguration, software supply chain failures, cryptographic failures, injection, insecure design, authentication failures, software or data integrity failures, security logging and alerting failures, and mishandling of exceptional conditions.