Skip to content

in test, cannot search for CVE-2026-NNNN in late 2025 #3484

Closed
@ElectricNroff

Description

@ElectricNroff

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions