CWE-1114βInappropriate Whitespace Style
PUBLISHEDweakness record
released 2019-01-03 Β· last modified 2025-12-11
Metadata
- CWE ID:
- CWE-1114
- Abstraction:
- Base
- Structure:
- Simple
- Status:
- Incomplete
- Release Date:
- 2019-01-03
- Latest Modification Date:
- 2025-12-11
Weakness Name
Inappropriate Whitespace Style
Description
The source code contains whitespace that is inconsistent across the code or does not follow expected standards for the product.
Common Consequences
- Scope:
- Other
- Impact:
- Increase Analytical Complexity
- Notes:
- A human auditor might indirectly trust that whitespace (especially indentation) reflects the actual control flow of the code, which could make it more difficult to find vulnerabilities.
- Scope:
- Other
- Impact:
- Reduce Maintainability
- Notes:
- This issue makes it more difficult to understand and maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities.