-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
cve-website/src/components/cveRecordSearchModule.vue
Lines 167 to 176 in a96cce9
| const currentYear = new Date().getFullYear(); | |
| if (cveStartYear <= year && year <= currentYear) { | |
| const normalizedCveId = `CVE-${year}-${id}`; | |
| if (isSearch) | |
| queryString.value = normalizedCveId; | |
| else | |
| cveId = normalizedCveId; | |
| } else { | |
| showHelpMessage(`CVE ID year must be within ${cveStartYear}-${currentYear}`); |
getFullYear() is the year in the local time zone of the client's web browser. There can realistically be published CVE-2026-NNNN CVE Records before the local year is 2026 in some relevant locations (e.g., Hawaii). Also, there can be reserved CVE-2026-NNNN CVE IDs as early as October 2025.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done