CVE-2026-145054: LaraDashboard through 1.5.2 Stored XSS via Custom Menu Item Target
LaraDashboard through 1.5.2 contains a stored cross-site scripting vulnerability that allows users with menu.edit or menu.create permissions to inject JavaScript by saving a javascript: URI as a custom menu item target. Attackers can submit the payload through the admin menu items endpoint, which MenuItem::getUrl() renders unsanitized as an href in the public navigation, executing script in visitors' and administrators' sessions.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs menu.edit or menu.create permission and must be able to submit a custom menu item through the admin menu items endpoint. The attacker also needs a visitor or administrator to follow or otherwise trigger rendering of the malicious navigation link.
Which users are affected by a malicious menu item?
The injected JavaScript can execute in the sessions of visitors and administrators when the affected public navigation renders the unsanitized menu target as an href. This can cross the security boundary because the vulnerable user creates stored content that executes for other users.
Is a default installation affected?
The available information does not establish whether the default configuration grants menu.edit or menu.create permissions or exposes custom menu-item creation. Exposure depends on whether users have those permissions and can create or modify custom menu targets.
What can be done before patching?
Restrict menu.edit and menu.create permissions to trusted administrators, and review existing custom menu item targets for javascript: URIs. Remove or replace any untrusted targets before they are rendered in public navigation.