Back to CWE list
CWE-1063
Creation of Class Instance within a Static Code Block
Base
Incomplete
Description
A static code block creates an instance of a class.
{"xhtml:p":["This pattern identifies situations where a storable data element or member data element is initialized with a value in a block of code which is declared as static."]}
Parent Weaknesses (ChildOf)
Common Consequences
Scope
Other
Impact
Reduce Performance
Applicable Platforms
Not Language-Specific
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now