/

CVE Professor

NVD 🦅 CVE.org v5 🌐 Shodan CVEDB 🇪🇺 ENISA EUVD 🚨 CISA KEV GitHub Advisory ZeroDays.TR · 7-Source Real-Time CVE & AI Intelligence
Total CVEs
·
Critical
·
KEV
🌐
🔴
▶ Aktif filtre
🟠
▶ Aktif filtre
🚨
▶ Aktif filtre
↗ Detay
🚨 KEV 🦠 Ran
CVE ID / Tarih
CVSS Skor

Latest Published CVE Vulnerabilities (Page 454 — Real-Time Archive):
Vulnerability Intelligence Hubs (Vendors, CWEs & Severity):
CVE Archive Pages:
).","score":6.1,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-58504","description":"draw.io is a configurable diagramming and whiteboarding application. Prior to version 30.2.5, opening or importing a crafted .drawio file can execute attacker-controlled JavaScript in the draw.io origin when selected cells are processed by TextFormatPanel.addFont() in src/main/webapp/js/grapheditor/Format.js. An HTML sibling cell keeps the formatted-label path enabled while an editable=0 plain-text sibling is excluded from the merged selection style but remains in the iteration set. graph.cellRenderer.getLabelValue() returns that plain-text label without HTML encoding, and mxUtils.canConvertHtmlToSvg() parses it as HTML, bypassing the earlier CVE-2026-46642 remediation. Successful exploitation can expose diagram data, browser storage, non-HttpOnly cookies, and same-origin actions available to the victim. This issue is fixed in version 30.2.5.","score":6.1,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-79320","description":"Stencil core 4.43.5 contains a DOM-based cross-site scripting (XSS) vulnerability in the component runtime. When a downstream application enables the experimental slot fixes option and uses scoped components, assigning a string to the textContent property of such a component's host element causes the value to be parsed as HTML instead of being inserted as text. If an application writes attacker-controlled data to these host elements, the data can be interpreted as markup and script can execute in the context of the application's origin.","score":6.1,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-88745","description":"EMLOG-Pro 2.6.29 contains a XSS vulnerability that enables attackers to upload a malicious shell.","score":6.1,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-17051","description":"The Intel SEDI IPM (inter-processor mailbox) driver in drivers/ipm/ipm_sedi.c handles an inbound message interrupt in ipm_event_dispose(). It read the peer-written doorbell register, extracted the payload length with IPC_HEADER_GET_LENGTH(), and passed that length straight to sedi_ipc_read_msg() to copy the message into struct ipm_sedi_context.incoming_data_buf, without checking it against the buffer size. The doorbell length field is 10 bits wide (IPC_HEADER_LENGTH_MASK is 0x03FF), so it can encode up to 1023 bytes, while incoming_data_buf is IPC_DATA_LEN_MAX (128) bytes. The bounds check in the underlying HAL sedi_ipc_read_msg() is a DBG_CHECK that compiles away unless CONFIG_DEBUG is set, so no check remained in a production image.\n\nThe doorbell register is written by the peer processor on the other side of the IPC link — for the intel_ish_5_* targets, the host CPU's ISH driver, reached through the device's memory-mapped register window. Host-side software with driver-level or raw BAR access can therefore set a length of up to 1023 and cause the interrupt handler to copy far past the destination buffer. The affected path requires an application to have registered an IPM receive callback via ipm_register_callback(), which is the driver's normal mode of use.\n\nThe result is an out-of-bounds write of up to 895 bytes into static (.bss) memory, performed in interrupt context. The overflow first clobbers the rest of struct ipm_sedi_context — including the k_sem and k_mutex used by the transmit path, whose wait queues contain self-referential list pointers — and then adjacent static data, giving a kernel data-structure corruption and crash primitive. The overflowing bytes are read from registers following the message window, a portion of which are themselves peer-programmable. The fix rejects any doorbell whose encoded length exceeds IPC_DATA_LEN_MAX, logging it and acknowledging the doorbell so the peer is not left waiting.","score":6,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-48521","description":"Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to 1.36.10, 1.37.6, 1.38.4, and 1.39.1, Envoy's ProdClusterManagerFactory::allocateConnPool dereferences transport_socket_options while selecting an HTTP/3 connection pool without first checking whether the pointer is null. LoadBalancerContext implementations used by synthetic, mirror, health-check, and async-client calls can return no transport-socket options. With auto_config and HTTP/3 enabled, routine traffic reaching one of those contexts can crash an Envoy worker. The relevant scope boundary is that the affected branch requires HTTP/3 in the protocol set and a context that supplies no transport-socket options. This issue is fixed in versions 1.36.10, 1.37.6, 1.38.4, and 1.39.1.","score":5.9,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-50572","description":"Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to 1.36.10, 1.37.6, 1.38.4, and 1.39.1, Envoy's HTTP external-authorization client can retain a stale request callback after a request is rejected. When RawHttpClientImpl::onSuccess later processes the authorization response, it can invoke callbacks_ after the callback owner has been destroyed, causing a use-after-free and process crash under production traffic. The relevant scope boundary is that the vulnerable path uses the HTTP ext_authz client; the advisory does not establish the same trigger for unrelated filters. This issue is fixed in versions 1.36.10, 1.37.6, 1.38.4, and 1.39.1.","score":5.9,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-36470","description":"CuteNews v.2.1.2 is vulnerable to Cross Site Scripting (XSS) in index.php. The value of the \"Referer\" header is copied into the response HTML unmodified/unescaped during POST messages to index.php.","score":5.8,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-36471","description":"Deserialization of Untrusted Data of the __post_data parameter in cn_parse_url() in CuteNews v.2.1.2 allows a remote attacker to inject arbitrary values into internal request variables (including __referer) via a crafted base64-encoded serialized PHP payload submitted as a POST parameter.","score":5.8,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-62987","description":"Fabio is an HTTP(S) and TCP router for deploying applications managed by consul. From 1.6.6 until 1.7.2, the CVE-2025-48865 fix in proxy/http_headers.go uses protectHeaders for a hardcoded set of forwarded headers but omits the operator-configured ClientIPHeader, TLSHeader, and RequestID names. In proxy/http_proxy.go, HTTPProxy.ServeHTTP calls addHeaders to set these trust headers before Go ReverseProxy processes the inbound Connection header, allowing an unauthenticated client to name and remove the configured headers before the request reaches the backend. Deployments that enable the corresponding proxy.header options can therefore lose client-IP, TLS-termination, or request-correlation signals used by backend authorization and auditing; the options are empty by default, and the hardcoded protected forwarded headers are unaffected. This issue is fixed in version 1.7.2.","score":5.8,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-17050","description":"The experimental USB host stack allocates a per-device configuration-descriptor buffer, udev->cfg_desc, from the dedicated usb_device_heap in usbh_device_set_configuration() (subsys/usb/host/usbh_device.c). On three failure paths — a failed full-length GET_DESCRIPTOR(CONFIGURATION) read, a mismatch between the short and full descriptor reads, and a rejected descriptor in parse_configuration_descriptor() — the buffer was released with k_heap_free() but the pointer was left dangling. The cleanup in usbh_device_free() is guarded only by if (udev->cfg_desc != NULL), so it frees the same block a second time.\n\nThe path is driven entirely by the attached peripheral: usbh_device_connect() calls usbh_device_init(), which ends in usbh_device_set_configuration(), and on failure usbh_device_connect() calls usbh_device_free(). On v4.4.x this happens during the same enumeration, with no unplug required; on v4.1.0–v4.3.x the second free instead arrives via dev_removed_handler()/dev_connected_handler() in subsys/usb/host/usbh_core.c, so it requires a removal or duplicate-connect event after the failed enumeration — a sequence the attached device fully controls. A malicious or malformed USB device only has to answer the first 9-byte configuration-descriptor request with a well-formed header and then fail any of the three checks, for example by returning a full descriptor whose interface count disagrees with bNumInterfaces, or by answering the second read with different bytes.\n\nThe result is a double free on usb_device_heap. On builds where lib/heap hardening is active (the current default CONFIG_SYS_HEAP_HARDENING_BASIC), sys_heap_free() detects the already-free chunk and calls k_panic(), giving a deterministic, peripheral-triggered denial of service of the USB host. On builds without that detection — earlier releases, or CONFIG_SYS_HEAP_HARDENING_NONE — the second free manipulates a chunk already on the free list, corrupting the heap's free list so that later allocations can return overlapping or invalid blocks.\n\nExploitation beyond denial of service is bounded by the fact that usb_device_heap is a small dedicated heap (CONFIG_USBH_USB_DEVICE_HEAP, default 1024 bytes) whose only client is this descriptor buffer, and by CONFIG_USB_HOST_STACK being marked experimental and disabled by default. The fix sets udev->cfg_desc = NULL after every k_heap_free(), making the cleanup guard sound.","score":5.7,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-61612","description":"CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.108, the SSRF guard `validateServerUrl` (added for CVE-2026-33060, extended for CVE-2026-53509) validates only the hostname string and never resolves DNS. Any caller-supplied `server_url` whose hostname *resolves* to an internal address passes the guard, so the server issues requests to loopback and cloud metadata (`169.254.169.254`). This is a third bypass of the same guard, and it reaches IMDS — strictly more than CVE-2026-53509, which only reached loopback. Version 0.4.108 contains an updated fix.","score":5.7,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-91166","description":"Warpgate is an open source SSH, HTTPS and MySQL bastion host for Linux. From 0.25.0 until 0.27.6, the browser SSH path in warpgate-web-ssh/src/manager.rs handles RCEvent::HostKeyUnknown without the presenting hop identity and instead passes ssh_options.host and ssh_options.port for the final target to KnownHosts::trust. In Prompt and AutoAccept modes, a jump host key can therefore be stored for the target address. A machine later presenting the jump host key at the target address can be accepted as the target, allowing interception of user traffic and a newly issued certificate when certificate authentication is used. The native SSH path is unaffected because it tracks each hop separately. This issue is fixed in version 0.27.6.","score":5.7,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-94185","description":"nvm resolves a requested version or alias by treating it as a filename under $NVM_DIR/alias. Before 0.40.8, nvm_alias() concatenated the requested name onto that directory and read the result with no containment check, so a name containing a `..` component escaped the alias directory; under the default layout an alias such as `../../.npmrc` resolves to a file in the user's home directory. nvm_print_alias_file() then emits every non-comment, non-empty line of whatever was opened. A version string taken from an untrusted .nvmrc reaches this path, so a developer who runs `nvm use`, `nvm install`, or `nvm which` inside an attacker-supplied repository discloses the first non-comment line of an arbitrary file readable by that user, in the resulting \"is not yet installed\" error message. A user-supplied `nvm alias ` discloses every non-comment line of the target file. There is no integrity or availability impact, and no command execution on this path.","score":5.5,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-94215","description":"A flaw was found in the Admin REST API of Keycloak, an open-source identity and access management solution. The issue occurs because the API uses a per-request in-memory cache to resolve clients by their unique identifier without verifying if the client belongs to the realm specified in the request path. This allows an administrator with limited privileges to read or modify sensitive client configurations in the master realm by accessing them through a realm they control. Successful exploitation could lead to the exposure of client credentials or the redirection of administrative login attempts to malicious sites.","score":5.5,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-82163","description":"Dell Command | Intel vPro Out of Band, versions prior to 4.7.2, contain an Incorrect Default Permissions vulnerability. A low privileged attacker with local access could potentially exploit this vulnerability, leading to Information Disclosure.","score":5.5,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-82165","description":"Dell Command | Integration Suite for System Center, versions prior to 6.7.2, contain an Incorrect Default Permissions vulnerability. A low privileged attacker with local access could potentially exploit this vulnerability, leading to Information Disclosure.","score":5.5,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-93433","description":"A flaw was found in libstoragemgmt. An attacker with control over a local or virtual storage device could provide specially crafted SCSI (Small Computer System Interface) Vital Product Data (VPD) page 0x80 data. This malformed data, specifically an untrusted page length field, can lead to a stack buffer overflow in the `_sg_parse_vpd_80()` function during serial number parsing. Successful exploitation could result in a denial of service by crashing or destabilizing the process querying the serial number.","score":5.5,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-78806","description":"An issue in Matter Standard Specification-Implementation gap v1.5.1 Matter Project Chip V1.5.1 allows a local attacker to obtain sensitive information via the PerformCommissioningStep function in the ChipDeviceController.cpp component","score":5.5,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2025-71419","description":"UVdesk core-framework before 1.1.7 contains a stored cross-site scripting vulnerability in the SwiftMailer configuration identifier parameter of the createMailerConfiguration action. Attackers with ROLE_AGENT can inject malicious script into the identifier field, which is persisted and executed when other members access the configuration update page.","score":5.4,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-94387","description":"Aureus ERP before 1.6.0 contains a stored cross-site scripting vulnerability in the Chatter field-change log where old_value and new_value entries are rendered without proper escaping. Any user permitted to edit tracked text fields can inject malicious markup that executes when other users, including administrators, view the record's Chatter panel.","score":5.4,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-93339","description":"Metaphor Creations Ditty (ditty-news-ticker) before 3.1.70 contains a stored cross-site scripting vulnerability that allows authenticated users with Author-level privileges or higher to inject arbitrary HTML elements by supplying malicious wrapper attribute values in layout tags. The ditty_layout_render_tag_wrapper() function inserts caller-supplied wrapper attribute values directly as HTML element names without allowlist validation, bypassing wp_kses_post() sanitization because KSES runs at save time before layout tag attributes are resolved at render time, causing the payload to execute in the browser of any visitor viewing posts or pages embedding the affected Ditty item.","score":5.4,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-48974","description":"HomeBox is a home inventory and organization system. Prior to 0.26.0, POST /v1/groups/members invokes HandleGroupMemberAdd and GroupService.AddMember using a caller-supplied userID without requiring an owner role, an invitation token, target-user consent, or target-user notification. Any authenticated user can force another account into the caller's group, disclose the target user's email address and name through the resulting member list, and create the membership prerequisite used by a separate cross-group inventory-wipe vulnerability. This issue is fixed in version 0.26.0.","score":5.4,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-94414","description":"jshERP through 3.6 is missing an authorization check on the POST /userBusiness/updateBtnStr endpoint that allows authenticated users to modify role button-permission definitions. Attackers can supply arbitrary roleId and btnStr parameters to overwrite button-permission configurations for any role in the tenant without privilege validation.","score":5.4,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-54915","description":"Tautulli is a Python based monitoring and tracking tool for Plex Media Server. Prior to 2.17.2, the unauthenticated /auth/redirect endpoint in plexpy/webauth.py removes forward slashes from the user-controlled redirect_uri parameter but leaves tab, line-feed, and carriage-return characters intact. With the default root HTTP_ROOT configuration, CherryPy HTTPRedirect passes the resulting value to urllib.parse.urljoin, which can resolve the whitespace-bearing path to an attacker-controlled external origin. A user who follows a crafted link can therefore be redirected outside Tautulli for phishing or post-login redirect-flow abuse, while custom non-root HTTP_ROOT configurations are not affected by this bypass. This issue is fixed in version 2.17.2.","score":5.4,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false},{"id":"CVE-2026-77516","description":"MaxKB is an open-source AI assistant for enterprise. From version 2.0.0 through 2.9.2, a lowest-role workspace member denied access to a tool by WorkspaceUserResourcePermission can still bind its identifier through tool_ids, skill_tool_ids, or mcp_tool_ids and execute it through the agent or workflow dispatch path. The dispatch path does not reapply the per-tool grant enforced by dedicated tool routes, and tool execution decrypts server-side init_params, allowing the caller to receive credentials carried by the denied tool. No fixed version is available as of this review.","score":5.4,"severity":"MEDIUM","published_iso":"2026-09-21","source":"NVD","cisa_kev":false}], loading:false, dbTotal:0, directResult:null, directError:'', lookupLoading:false, lookupId:'', // API-side params (trigger load) apiKeyword:'', days:'90', apiPage:0, apiLimit:100, totalApi: 80, sevCounts:{}, catCounts:{}, // Client-side filters (instant, no API call) activeCategory:'all', catFilter:'', activeSev:'', showKev:false, showRan:false, // UI state lastUpdate:'', sidebarOpen:false, toasts:[], contactOpen:false, showBackTop:false, adMiddle: "", sortBy:'date', sortDir:'desc', page:1, pageSize:50, // Persist theme & auto-detect Turkey vs Global language theme: localStorage.getItem('cve-theme')||'dark', lang: (function(){ try { const s = localStorage.getItem('cve-lang'); if (s === 'tr' || s === 'en') return s; } catch(e){} const nav = (navigator.language||'').toLowerCase(); let tz = ''; try { tz = Intl.DateTimeFormat().resolvedOptions().timeZone||''; } catch(e){} return (nav.startsWith('tr') || tz === 'Europe/Istanbul' || tz === 'Asia/Istanbul') ? 'tr' : 'en'; })(), categories:[ {key:'all', labelTR:'Tümü', labelEN:'All', kw:'', icon:'🌐'}, {key:'wp', labelTR:'WordPress', labelEN:'WordPress', kw:'wordpress', icon:'🔵'}, {key:'joomla', labelTR:'Joomla', labelEN:'Joomla', kw:'joomla', icon:'🟡'}, {key:'drupal', labelTR:'Drupal', labelEN:'Drupal', kw:'drupal', icon:'🟠'}, {key:'apache', labelTR:'Apache', labelEN:'Apache', kw:'apache httpd', icon:'🔴'}, {key:'nginx', labelTR:'Nginx', labelEN:'Nginx', kw:'nginx', icon:'🟢'}, {key:'php', labelTR:'PHP', labelEN:'PHP', kw:'php', icon:'🟣'}, {key:'linux', labelTR:'Linux Kernel', labelEN:'Linux Kernel', kw:'linux kernel', icon:'🐧'}, {key:'openssl',labelTR:'OpenSSL', labelEN:'OpenSSL', kw:'openssl', icon:'🔐'}, {key:'ms', labelTR:'Microsoft', labelEN:'Microsoft', kw:'microsoft', icon:'🪟'}, {key:'cisco', labelTR:'Cisco', labelEN:'Cisco', kw:'cisco', icon:'🌀'}, {key:'python', labelTR:'Python / PyPI', labelEN:'Python / PyPI', kw:'python', icon:'🐍'}, {key:'chrome', labelTR:'Chrome / V8', labelEN:'Chrome / V8', kw:'chromium', icon:'🟤'}, {key:'fortinet',labelTR:'Fortinet', labelEN:'Fortinet', kw:'fortigate', icon:'🛡️'}, ], severities:[ {key:'CRITICAL',labelTR:'KRİTİK', color:'#ff5b5b'}, {key:'HIGH', labelTR:'YÜKSEK', color:'#f0883e'}, {key:'MEDIUM', labelTR:'ORTA', color:'#d29922'}, {key:'LOW', labelTR:'DÜŞÜK', color:'#3fb950'}, ], get tx(){ return this.lang==='tr'?TR:EN }, get sources(){ return [...new Set(this.cves.map(c=>c.source).filter(Boolean))].slice(0,5) }, // ── KEY FIX: categories filter the loaded cves CLIENT-SIDE ── get displayed(){ let r=[...this.cves]; // Category — client-side, no API call if(this.catFilter){ const kl=this.catFilter.toLowerCase(); r=r.filter(c=> (c.description||'').toLowerCase().includes(kl)|| (c.products||[]).some(p=>p.toLowerCase().includes(kl))|| (c.id||'').toLowerCase().includes(kl) ); } // Severity if(this.activeSev) r=r.filter(c=>c.severity===this.activeSev); // Special if(this.showKev) r=r.filter(c=>c.cisa_kev); if(this.showRan) r=r.filter(c=>c.ransomware); // Sort if(this.sortBy==='score') r.sort((a,b)=>this.sortDir==='desc'?(b.score||0)-(a.score||0):(a.score||0)-(b.score||0)); else r.sort((a,b)=>this.sortDir==='desc' ?String(b.published_iso||'').localeCompare(String(a.published_iso||'')) :String(a.published_iso||'').localeCompare(String(b.published_iso||''))); return r; }, get visibleCves(){ return this.displayed }, get totalApiPages(){ return Math.max(1, Math.ceil(this.totalApi/this.apiLimit)) }, get pageRange(){ const total=this.totalApiPages, cur=this.apiPage; const s=Math.max(0,cur-3), e=Math.min(total-1,cur+3); const r=[]; for(let i=s;i<=e;i++) r.push(i); return r; }, // Category click — set both API keyword and client-side filter, then reload setCategory(c){ this.activeCategory=c.key; this.catFilter=c.kw||''; this.apiKeyword=c.kw||''; this.page=1; this.directResult=null; this.directError=''; this.load(); }, countCat(c){ if(!Object.keys(this.catCounts).length) return ''; const n=this.catCounts[c.key]||0; return n.toLocaleString(this.lang==='tr'?'tr-TR':'en-US'); }, sevLabel(s){ const m={CRITICAL:this.tx.sevCRIT,HIGH:this.tx.sevHIGH,MEDIUM:this.tx.sevMED,LOW:this.tx.sevLOW,NONE:this.tx.sevNONE}; return m[s]||s||'—'; }, isNew(iso){ return iso===TODAY||iso===YESTERDAY }, setSortBy(k){ if(this.sortBy===k) this.sortDir=this.sortDir==='desc'?'asc':'desc'; else{this.sortBy=k;this.sortDir='desc'} }, init(){ document.getElementById('root').dataset.theme=this.theme; try{ localStorage.setItem('cve-theme',this.theme); }catch{} document.documentElement.lang=this.lang; // Read initial filter state from URL query params const sp = new URLSearchParams(window.location.search); if (sp.get('q')) { this.apiKeyword = sp.get('q'); const matchedCat = this.categories.find(c => c.kw && c.kw.toLowerCase() === this.apiKeyword.toLowerCase()); if (matchedCat) { this.activeCategory = matchedCat.key; this.catFilter = matchedCat.kw; } } if (sp.get('sev')) this.activeSev = sp.get('sev').toUpperCase(); if (sp.get('days')) this.days = sp.get('days'); if (sp.get('kev') === '1') this.showKev = true; if (sp.get('ran') === '1') this.showRan = true; // Keyboard shortcut: '/' or Ctrl+K to focus search box window.addEventListener('keydown', (e) => { if ((e.key === '/' && !['INPUT','TEXTAREA','SELECT'].includes(document.activeElement?.tagName)) || ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === 'k')) { e.preventDefault(); this.$refs.searchInput?.focus(); } }); window.addEventListener('scroll', () => { this.showBackTop = window.scrollY > 360; }, {passive: true}); const kwUpper = (this.apiKeyword||'').trim().toUpperCase(); if (/^CVE-\d{4}-\d+$/.test(kwUpper)) { this.lookup(kwUpper); } // Do not trigger XHR /api.php call for search engine bots (robots.txt blocks /api.php; bots keep the SSR-seeded this.cves) if (/bot|googlebot|bingbot|yandex|baiduspider|duckduckbot|slurp|facebot|ia_archiver|headlesschrome|lighthouse/i.test(navigator.userAgent || '')) { return; } this.load(); }, syncUrl(){ try { const sp = new URLSearchParams(); if (this.apiKeyword) sp.set('q', this.apiKeyword); if (this.activeSev) sp.set('sev', this.activeSev); if (String(this.days) !== '90') sp.set('days', this.days); if (this.showKev) sp.set('kev', '1'); if (this.showRan) sp.set('ran', '1'); const qs = sp.toString(); window.history.replaceState({}, '', qs ? `?${qs}` : window.location.pathname); } catch(e){} }, async copyId(id){ try { await navigator.clipboard.writeText(id); } catch(e){} this.toast(`✓ ${id} kopyalandı`); }, // load() = ilk yükleme veya filtre değişince async load(){ if(this.loading) return; this.syncUrl(); const hadSeed = this.cves && this.cves.length > 0; if (!hadSeed) this.loading=true; this.page=1; this.apiPage=0; try{ const url=`api.php?action=cves&q=${encodeURIComponent(this.apiKeyword||'')}&sev=${encodeURIComponent(this.activeSev||'')}&days=${this.days}&kev=${this.showKev?1:0}&ran=${this.showRan?1:0}&limit=${this.apiLimit}&page=0`; const r=await fetch(url); if(!r.ok) throw new Error(`HTTP ${r.status}`); const d=await r.json(); this.cves=d.cves||[]; this.totalApi=d.total||0; this.sevCounts=d.sev_counts||{}; this.catCounts=d.cat_counts||{}; this.dbTotal=d.db_stats?.total||0; this.lastUpdate=new Date().toLocaleTimeString(this.lang==='tr'?'tr-TR':'en-US',{hour:'2-digit',minute:'2-digit'}); this.toast(`✓ ${this.cves.length} / ${(d.total||0).toLocaleString()} CVE`); }catch(e){ if (!hadSeed) this.toast('⚠ '+e.message); } this.loading=false; }, // goPage() = sayfa numarasına git async goPage(n){ if(this.loading||n<0||n>=this.totalApiPages) return; this.loading=true; this.cves=[]; this.page=1; try{ const url=`api.php?action=cves&q=${encodeURIComponent(this.apiKeyword||'')}&sev=${encodeURIComponent(this.activeSev||'')}&days=${this.days}&kev=${this.showKev?1:0}&ran=${this.showRan?1:0}&limit=${this.apiLimit}&page=${n}`; const r=await fetch(url); if(!r.ok) throw new Error(`HTTP ${r.status}`); const d=await r.json(); this.cves=d.cves||[]; this.totalApi=d.total||0; this.sevCounts=d.sev_counts||{}; this.catCounts=d.cat_counts||{}; this.apiPage=n; this.lastUpdate=new Date().toLocaleTimeString(this.lang==='tr'?'tr-TR':'en-US',{hour:'2-digit',minute:'2-digit'}); window.scrollTo({top:0,behavior:'smooth'}); }catch(e){ this.toast('⚠ '+e.message) } this.loading=false; }, // doSearch = explicit user search (search box or days change) doSearch(){ this.activeCategory='all'; this.catFilter=''; // Detect CVE ID pattern — trigger direct lookup const kw = (this.apiKeyword||'').trim().toUpperCase(); if (/^CVE-\d{4}-\d+$/.test(kw)) { this.lookup(kw); return; } this.directResult=null; this.directError=''; this.load(); }, async lookup(id){ this.lookupLoading=true; this.lookupId=id; this.directResult=null; this.directError=''; try{ const r=await fetch(`api.php?action=lookup&id=${encodeURIComponent(id)}`); const d=await r.json(); if(d.error){ this.directError='⚠ '+d.error; } else{ this.directResult=d.cve; this.toast(`✓ ${id} ${d.cve.from_cache?'(DB önbellek)':'(NVD\'den getirildi)'}`); // Also add to cves list if not already there if(!this.cves.find(c=>c.id===id)) this.cves=[d.cve,...this.cves]; } }catch(e){ this.directError='⚠ Bağlantı hatası: '+e.message; } this.lookupLoading=false; }, exportData(){ window.open('api.php?action=export','_blank') }, toggleTheme(){ this.theme=this.theme==='dark'?'light':'dark'; document.getElementById('root').dataset.theme=this.theme; try{ localStorage.setItem('cve-theme',this.theme); }catch{} }, toggleLang(){ this.lang=this.lang==='tr'?'en':'tr'; document.documentElement.lang=this.lang; try{ localStorage.setItem('cve-lang',this.lang); }catch{} }, toast(msg){ const id=Date.now(); this.toasts.push({id,msg}); setTimeout(()=>this.toasts=this.toasts.filter(t=>t.id!==id),3000); }, } } if ('serviceWorker' in navigator) navigator.serviceWorker.register('/sw.js').catch(()=>{});