Short answer
A CVE is the public identifier of one specific, publicly disclosed vulnerability in a product, written as CVE-year-number, for example CVE-2021-44228 (Log4Shell). The CVE program gives everyone the same name for the same problem; CVE Numbering Authorities assign the IDs. A CVE ID says nothing about your app until you know whether you use the affected version. Tools like npm audit match your dependencies against such advisories.
Ask an AI about this page:ChatGPTClaude
On this page
A CVE (Common Vulnerabilities and Exposures) is a public identifier for one specific, publicly known vulnerability in a product. NIST’s glossary describes the CVE list as entries that each have an identification number, a description and at least one public reference. The ID looks like CVE-2021-44228: the prefix, a year and a sequence number. The year reflects when the ID was assigned or the issue was published, not when the bug was found.
The point of a CVE is a shared name. A vendor’s advisory, a scanner report and a news article can all say CVE-2021-44228, and everyone knows they mean the same Log4j flaw. IDs are assigned by CVE Numbering Authorities (CNAs), organisations such as software vendors and security teams that are allowed to publish CVE records for products in their scope. CISA, which sponsors the program, counted more than 460 CNAs in 2025.
CVEs in an AI-built app
Your own app code rarely gets a CVE. Your dependencies do. A typical React and Supabase project pulls in many npm packages, and when one of them has a published vulnerability, it shows up as an advisory, usually with a CVE ID, the affected version range and the fixed version.
Two things are easy to misread:
- A CVE in your dependency tree is not automatically a problem in your app. The vulnerable function may never be called, or only in development tooling that never ships to users.
- No CVE doesn’t mean no risk. The most common problems in AI-built apps, such as missing row level security or a secret key in the frontend, are configuration and logic bugs in your own project. They never get a CVE.
How bad a CVE is gets expressed with a CVSS score; what kind of mistake caused it with a CWE.
How to check your app
- Run
npm audit(or your package manager’s equivalent) in the project. It sends a description of your dependencies to the registry and reports known vulnerabilities with suggested fixes. - For each finding, look at the affected package: is it a runtime dependency that ships to users, or a development tool? Is the vulnerable feature used?
- Use
npm audit --omit=devto focus on what ships, and--audit-levelin CI to fail builds only above a severity you choose.
How to fix or prevent it
Update the affected package to a fixed version, ideally on purpose and one at a time rather than with npm audit fix --force, which may apply breaking major updates. Commit the updated lockfile and retest. If no fix exists yet, check the advisory for a workaround, or replace the package. Keep dependencies few and current, since every package is something that can get a CVE; more on that under software supply chain attacks.
Frequently asked questions
What is the difference between a CVE and a CWE?
A CVE names one concrete vulnerability in one product, such as a specific bug in a specific library version. A CWE names a type of weakness, such as SQL injection, that can occur in any software. Many CVE records point to the CWE that caused them.
Does a CVE tell me how severe a vulnerability is?
The ID itself doesn’t. Severity is expressed with a CVSS score, which the CNA may include in the record or a database such as the NVD adds. Check the score and, more importantly, whether the vulnerable code is reachable in your app.
Can a bug in my own app get a CVE?
CVE IDs are for publicly disclosed vulnerabilities in products others use. A missing RLS policy in your private app normally doesn’t get one; a vulnerability in a library or service you publish can.
Sources
- 1.Common Vulnerabilities and Exposures (CVE) – Glossary — NIST Computer Security Resource Center
- 2.CISA Vision 2025: CVE Quality for a Cyber Secure Future — CISA
- 3.Frequently Asked Questions (archived CVE website) — CVE Program
- 4.npm-audit — npm Docs