GHSA-297g-xg4h-7w4c Laravel Cross-site Scripting vulnerability in blade templating
An attacker can inject malicious scripts into Laravel applications via Blade templating, potentially compromising user sessions or data.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-297g-xg4h-7w4c?
GHSA-297g-xg4h-7w4c is a cross-site scripting vulnerability in illuminate/view, published on 15 May 2024. It can be exploited over the network, and only if a user opens a file or follows a link.
Official description
Which versions are affected by GHSA-297g-xg4h-7w4c?
2 open source packages ship an affected version, including illuminate/view.
| Package | Affected | Fixed in |
|---|---|---|
illuminate/view Packagist | From 7.0.0 | 7.1.2 |
illuminate/view Packagist | From 7.0.0 | 7.1.2 |
How do I fix GHSA-297g-xg4h-7w4c?
Upgrade illuminate/view to 7.1.2 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is GHSA-297g-xg4h-7w4c being exploited?
There is no known exploitation of GHSA-297g-xg4h-7w4c in the wild and no public exploit code.