1 Improper Input Validation
2 Improper Encoding or Escaping of Output
3 Failure to Preserve SQL Query Structure (‘SQL Injection’)
4 Failure to Preserve Web Page Structure (‘Cross-site Scripting’)
5 Failure to Preserve OS Command Structure (‘OS Command Injection’)
6 Clear text Transmission of Sensitive Information
7 Cross-Site Request Forgery (CSRF)
8 Race Condition
9 Error Message Information Leak
10 Failure to Constrain Operations within the Bounds of a Memory Buffer
11 External Control of Critical State Data
12 External Control of File Name or Path
13 Untrusted Search Path
14 Failure to Control Generation of Code (‘Code Injection’)
15 Download of Code Without Integrity Check
16 Improper Resource Shutdown or Release
17 Improper Initialization
18 Incorrect Calculation
19 Improper Access Control (Authorization)
20 Use of a Broken or Risky Cryptographic Algorithm
21 Hard-Coded Password
22 Incorrect Permission Assignment for Critical Resource
23 Use of Insufficiently Random Values
24 Execution with Unnecessary Privileges
25 Client-Side Enforcement of Server-Side Security
If you want to go through with example then please Refer below link:
http://www.softwaretestinghelp.com/top-25-common-programming-bugs-every-tester-should-know/#more-353
Very neat article post.Thanks Again. Really Cool.