Home / Knowledge hub / CWE mapping
Knowledge hub
CWE mapping
Tagging each finding with the weakness type that describes it.
What it means
CWE mapping means attaching a Common Weakness Enumeration identifier to a finding. CWE is a community-maintained catalogue, run by MITRE, that gives each kind of software weakness a number and a name. For example, CWE-79 is cross-site scripting and CWE-89 is SQL injection.
A finding says what happened in your app. The CWE says what kind of mistake it was. That shared label lets people, tools and reports talk about the same thing without arguing over wording. Each entry also lists examples, common consequences and ways to prevent it, which makes it useful beyond naming.
Why it matters
Once findings carry a CWE, you can count them by type. If a third of your findings are missing-authorisation weaknesses, the fix is a design habit and not thirty separate patches. Trends across releases become visible, and training can aim at the real gaps.
Customers and auditors read these labels too. A report that maps to a standard catalogue is easier to compare, import into a tracker and check against a rule. It differs from a CVE, which names one specific flaw in one specific product.
How it shows up
You meet CWE identifiers in scanner and pentest reports, in vulnerability databases, and in lists such as the CWE Top 25. Check that each finding maps to the most specific entry that fits, not a broad parent such as a general input-validation entry.
Frequent mistakes are mapping to a vague parent, mapping to the symptom rather than the cause, and putting several weaknesses under one tag. Where a flaw has two causes, give two mappings. The CWE entry shows examples, consequences and typical fixes to link from the ticket.
Questions people ask
CWE mapping, answered
What is the difference between CWE and CVE?
A CWE names a type of weakness, such as SQL injection. A CVE identifies a specific vulnerability in a specific product or version.
Many CVEs point to the CWE that describes their cause.
Can one finding have more than one CWE?
Yes. A flaw can combine causes, such as a missing check and an exposed identifier. Map each cause, and mark which is the main one.
Do not use a long list to cover uncertainty.
Is CWE the same as the OWASP Top 10?
No. CWE is a detailed catalogue with many entries. The OWASP Top 10 groups risks into ten categories, and OWASP publishes which CWEs sit in each.
Teams often use both, one for detail and one for communication.
Which CWE should I pick if several seem to fit?
Choose the most specific one that accurately describes the root cause. MITRE guidance prefers lower-level entries over broad categories where you can.
Check the entry's description against what actually went wrong.
Do customers ask for CWE mapping?
Often security teams and procurement do, because it lets them import findings and compare reports.
It is cheap to include and hard to add later. Include it from the first report.
Sources
Where this comes from
Related
Terms that sit next to this one
CWE
A catalogue of vulnerability types, rather than individual bugs.
CWE Top 25
A yearly list of the most dangerous software weakness types.
OWASP mapping
Tagging each finding with the OWASP risk category it falls under.
Security finding
One confirmed weakness in a report, with the evidence to show it is real.
Root cause
The underlying mistake behind a flaw, which fixing prevents a whole class from returning.
What type of mistake was it?
Every Cyberlop finding carries CWE and OWASP references alongside the request, the response and the line of code, so reports can be sorted by the type of mistake. Book a pilot on one app.
Or start with a $199 pilot on one application: thirty days, success criteria agreed before day one, credited against the annual if you convert.