CWE

Common Weakness Enumeration

Celebrating 20 years of community-developed cybersecurity weakness knowledge!

New to CWE? click here!
CWE Most Important Hardware Weaknesses
CWE Top 25 Most Dangerous Weaknesses
Home > CWE List > CWE- Individual Dictionary Definition (5.0)  
ID

CWE Grouping: OpenSSF Secure Coding Guide for Python (2026) - 02 Encoding and Strings

Grouping ID: 1452
Vulnerability Mapping: PROHIBITED This CWE ID must not be used to map to real-world vulnerabilities
+ Summary
Weaknesses in this category are related to the rules and recommendations in section "02 Encoding and Strings" of the OpenSSF Secure Coding Guide for Python.
+ Membership
Nature Type ID Name
MemberOf ViewView - a subset of CWE entries that provides a way of examining CWE content. The two main view structures are Slices (flat lists) and Graphs (containing relationships between entries). 1449 Weaknesses Addressed by the OpenSSF Secure Coding Guide for Python (2026)
HasMember VariantVariant - a weakness that is linked to a certain type of product, typically involving a specific language or technology. More specific than a Base weakness. Variant level weaknesses typically describe issues in terms of 3 to 5 of the following dimensions: behavior, property, technology, language, and resource. 175 Improper Handling of Mixed Encoding
HasMember VariantVariant - a weakness that is linked to a certain type of product, typically involving a specific language or technology. More specific than a Base weakness. Variant level weaknesses typically describe issues in terms of 3 to 5 of the following dimensions: behavior, property, technology, language, and resource. 176 Improper Handling of Unicode Encoding
HasMember VariantVariant - a weakness that is linked to a certain type of product, typically involving a specific language or technology. More specific than a Base weakness. Variant level weaknesses typically describe issues in terms of 3 to 5 of the following dimensions: behavior, property, technology, language, and resource. 180 Incorrect Behavior Order: Validate Before Canonicalize
+ Vulnerability Mapping Notes
Usage PROHIBITED
(this CWE ID must not be used to map to real-world vulnerabilities)
Reason Grouping

Rationale

This entry is a Grouping. Using groupings for mapping has been discouraged since 2019. They are informal organizational groupings of weaknesses that can help CWE users with data aggregation, navigation, and browsing. However, they are not weaknesses in themselves.

Comments

See member weaknesses of this category.
+ References
[REF-1541] OpenSSF. "Secure Coding Guide for Python". 02 Encoding and Strings. <https://best.openssf.org/Secure-Coding-Guide-for-Python/>. URL validated: 2026-10-06.
Rationale: Secure-Development-Rules
+ Content History
+ Submissions
Submission Date Submitter Organization
2026-10-06
(CWE 5.0, 2026-10-28)
CWE Content Team MITRE
Page Last Updated: Oct 28, 2026