Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

CWE

Direct answer

Common Weakness Enumeration classifies recurring software and hardware weakness types in architecture, design, code and implementation, supporting root-cause analysis and prevention rather than uniquely identifying individual vulnerability instances.

When to use this

Use it when the Security question has been narrowed to Vulnerability Management → CWE. Capture exact asset, role, platform/product version, owner, source and timestamp, expected security outcome, effective state and the evidence needed to prove treatment or control behavior.

First 30 seconds

1. CWE classifies weakness types (e.g. CWE-79 XSS, CWE-89 SQLi).

2. Useful for root-cause and developer training.

3. Map SAST/DAST findings to CWE.

4. Track recurring CWEs.

5. Fix classes of bugs.

Operational verification

vulnerability → CWE class → root cause fix

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

A supported CWE mapping classifies a weakness pattern; it does not uniquely identify a vulnerability, show exploitability or show every occurrence is removed.

Suspicious evidence: pillar/category used as precise mapping, deprecated CWE, symptom mapped instead of root cause, CVE/CWE confused, automated guess accepted or remediation limited to one instance.

Platform / version applicability
Security assurance and compliance
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSecurity assurance and compliance
Scope / prerequisiteUse it when the Security question has been narrowed to Vulnerability Management → CWE. Capture exact asset, role, platf…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

observed vulnerability behavior → technical root cause → appropriate CWE abstraction → validated mapping → development/control pattern → systemic prevention and measurement

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • CWE ID ≠ CVE ID or affected product instance.
  • Mapped CWE ≠ proven root cause unless evidence supports the abstraction level.
  • Finding present ≠ vulnerable asset and applicable condition proven.
  • CVSS severity ≠ organization-specific risk or remediation order.
Key checks
  • CWE ID on findings — weakness type
  • CWE Top 25 — common weaknesses
  • SAST results by CWE — code issues
ReferenceWhat it is1 section · depth on demand

Using CWE

CWE IDs describe weakness types (CWE-79 XSS, CWE-89 SQL injection, CWE-787 out-of-bounds write) rather than specific vulnerabilities (CVEs). They help find root causes across many findings and prioritise developer training. The CWE Top 25 lists the most dangerous weaknesses each year; SAST tools report findings by CWE.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

A supported CWE mapping classifies a weakness pattern; it does not uniquely identify a vulnerability, show exploitability or show every occurrence is removed.

In depth

CWE (Common Weakness Enumeration) is a catalogue of software and hardware weakness types — the root causes behind vulnerabilities, such as CWE-79 (cross-site scripting), CWE-89 (SQL injection) or CWE-787 (out-of-bounds write). CVEs describe specific vulnerabilities; CWEs describe the kind of mistake.

Why it is useful:

UseExample
Secure developmentTrain on the most common CWEs in your code
Static analysisTools report findings by CWE
Trend analysisWhich weakness types recur in your products
PrioritisationCWE Top 25 Most Dangerous Software Weaknesses

Fixing a class of weakness (e.g. adopting parameterised queries everywhere) removes many future CVEs at once.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSecurity assurance and compliance current

Authoritative/upstream documentation reviewed for bounded claims in Vulnerability Management → CWE. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/40/r4/final · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
Common Weakness Enumerationsoftware weakness classCWE mapping
Embedded reference data

Quick lookup tables

Vulnerability Management → CWE proof map

Fast scope, state, evidence and closure boundaries for Vulnerability Management → CWE.

BoundaryEstablishDoes not establish
ScopeAuthoritative asset, owner, product/version, exposure, assessment source and timeDiscovery or name match does not prove vulnerability applicability
FindingAdvisory/record, scanner evidence, applicability and uncertaintyCVE, CPE or scanner result alone does not prove exploitable asset state
PriorityThreat/exploitation, exposure, attack path, business impact and controlsCVSS severity alone does not equal organizational risk
ClosureEffective treatment plus independent retest, workload health and monitored exception statePatch deployment or ticket closure alone is not verified closure
Confirmation

Confirm action

Continue?