Skip to main content

Laravel CVE-2025-53833

| EUVDEUVD-2025-21400 CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2025-07-14 security-advisories@github.com GHSA-jv7x-xhv2-p5v2
10.0
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Impact

This vulnerability presents CRITICAL real-world risk across multiple assessment frameworks: (1) CVSS 3.1 Vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) indicates maximum exploitability—network-accessible with no authentication required, low attack complexity, no user interaction needed, and scope change allowing impact beyond the vulnerable component; (2) The attack vector (AV:N) means exploitation is possible over the network without physical access; (3) Zero privilege requirements (PR:N) and no user interaction (UI:N) indicate this is trivially exploitable by unauthenticated attackers; (4) Complete impact across confidentiality, integrity, and availability (all:H) means attackers gain full system compromise; (5) The 'Scope Changed' (S:C) rating indicates the vulnerability can impact resources beyond LaRecipe itself, such as the underlying Laravel application and server. This is NOT a case of inflated CVSS—it represents genuine, immediate danger. Any publicly exposed LaRecipe instance running versions <2.8.1 is effectively compromised. The combination of RCE-level impact, unauthenticated access, and ease of exploitation makes this a priority-one vulnerability for active remediation.

Exploit ScenarioDerived

An attacker discovers a publicly accessible LaRecipe documentation site running version 2.7.x. They craft a malicious Markdown input containing Laravel Blade template syntax, such as: {{ system('whoami') }} or {{ config('app.key') }}. This payload is submitted via a documentation page creation/edit endpoint (authenticated or unauthenticated depending on site configuration). LaRecipe processes the Markdown input and passes it to the template engine without sanitization. The template engine interprets the {{ }} delimiters as executable code directives and executes the embedded PHP commands. The attacker successfully executes arbitrary system commands, retrieves sensitive environment variables (database credentials, API keys, encryption keys), and escalates to full server compromise by writing a webshell or modifying application files. Within minutes, the attacker establishes persistent access, exfiltrates data, or uses the compromised server for further attacks. Given the network-based attack vector (AV:N) and lack of authentication (PR:N), this exploit requires only network access and basic knowledge of template injection syntax. Proof-of-concept code would be trivial to develop and likely already exists in attacker communities or public vulnerability databases. The zero complexity (AC:L) means automated exploitation tools can be developed and deployed at scale.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 16.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 16, 2026

LaRecipe versions prior to 2.8.1 contain a Server-Side Template Injection (SSTI) vulnerability that can lead to Remote Code Execution (RCE) in vulnerable configurations. The vulnerability allows unauthenticated network attackers to execute arbitrary commands on the server, access sensitive environment variables, and escalate privileges without requiring user interaction or special access. With a perfect CVSS 3.1 score of 10.0 and network-based attack vector, this represents a critical threat to all unpatched LaRecipe installations.

RemediationAI

Immediate remediation steps: (1) UPGRADE: Update LaRecipe to version 2.8.1 or later immediately. This is the only official patch. Execute: composer update larecipe/larecipe to v2.8.1+; (2) VERIFY: After upgrade, test documentation rendering to ensure no functionality regression; (3) AUDIT: Review server logs (Laravel logs, web server access logs, PHP error logs) for evidence of exploitation attempts or successful attacks, looking for suspicious markdown inputs containing template syntax; (4) CREDENTIAL RESET: If the server was internet-facing during the vulnerable window, rotate all credentials (database passwords, API keys, environment secrets) as they may have been exposed; (5) INTERIM MITIGATIONS (if immediate patching is not possible): Disable LaRecipe routes via firewall/WAF rules, restrict network access to LaRecipe endpoints to trusted IPs only, implement Web Application Firewall (WAF) rules to detect and block template injection patterns in request payloads (e.g., block {{ and {!! patterns in Markdown input). NOTE: Workarounds are NOT reliable substitutes for patching—upgrade is mandatory. Vendor advisory: Check the official LaRecipe GitHub repository (larecipe/larecipe) releases page for patch notes and installation instructions.

Affected VersionsENISA

larecipe < 2.8.1

Affected Packages

composer binarytorch/larecipe fix: 2.8.1
euvd larecipe fix: 2.8.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LaRecipe is a Laravel-based documentation application that processes user-supplied Markdown input. The vulnerability stems from improper handling of template expressions in CWE-1336 (Insufficient Neutralization of Special Elements used in a Template Engine), where user-controlled input is passed directly to a template engine without adequate sanitization or escaping. Laravel applications commonly use Blade templating, which can execute arbitrary PHP code if untrusted input reaches the template rendering engine. The vulnerability affects the markdown processing pipeline where attacker-controlled content is not properly isolated before template compilation, allowing injection of template syntax (e.g., {{ }} or {!! !!} delimiters) that execute server-side code. This is particularly dangerous in Laravel environments where template engines have access to the full application context, including service containers and configuration objects.

Know when Laravel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Jul 14, 2025 - 23:15 nvd
CRITICAL 10.0

DescriptionGitHub Advisory

LaRecipe is an application that allows users to create documentation with Markdown inside a Laravel app. Versions prior to 2.8.1 are vulnerable to Server-Side Template Injection (SSTI), which could potentially lead to Remote Code Execution (RCE) in vulnerable configurations. Attackers could execute arbitrary commands on the server, access sensitive environment variables, and/or escalate access depending on server configuration. Users are strongly advised to upgrade to version v2.8.1 or later to receive a patch.

Executive ViewAI

Why It Matters

A critical vulnerability in LaRecipe (CVE-2025-53833) allows unauthenticated attackers to execute arbitrary code on affected servers through Server-Side Template Injection. Any organization using LaRecipe versions prior to 2.8.1 faces immediate risk of data breach, system compromise, and operational disruption, with no vendor patch currently available.

Business Impact: Severe
Compensating Controls

Until patch availability: (1) Deploy Web Application Firewall rules to detect and block Server-Side Template Injection payloads targeting LaRecipe endpoints; (2) Restrict network access to LaRecipe instances to trusted internal users only via IP whitelisting or VPN requirement; (3) Disable LaRecipe documentation creation/editing features if business operations permit; (4) Implement enhanced logging and real-time alerting on LaRecipe access and template processing; (5) Run LaRecipe in a sandboxed environment with minimal system privileges and no access to sensitive environment variables.

Threat Intelligence Overview

Threat Score
4.0/10
Composite threat intelligence
EPSS Score
16.8%
Top 5% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 16.8%
Patch available Yes
Active threat Yes
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

87
Low Medium High Critical
KEV: 0
EPSS: +17
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2017-16894 HIGH POC
7.5 Nov 20

In Laravel framework through 5.5.21, remote attackers can obtain sensitive information (such as externally usable passwo

CVE-2025-54068 CRITICAL POC
9.8 Jul 17

Laravel Livewire v3 through v3.6.3 contains a critical remote code execution vulnerability (CVE-2025-54068, CVSS 9.8) th

CVE-2026-28289 CRITICAL POC
10.0 Mar 03

File upload bypass in FreeScout 1.8.206 — patch bypass for CVE-2026-27636. PoC and patch available. CVSS 10.0.

CVE-2026-27636 HIGH POC
8.8 Feb 25

Remote code execution in FreeScout prior to version 1.8.206 allows authenticated users to upload `.htaccess` files that

CVE-2018-15133 HIGH POC
8.1 Aug 09

In Laravel Framework through 5.5.40 and 5.6.x through 5.6.29, remote code execution might occur as a result of an unseri

CVE-2025-70841 CRITICAL POC
10.0 Feb 03

Dokans SaaS e-commerce platform v3.9.2 has a CVSS 10.0 authentication bypass allowing unauthenticated attackers to obtai

CVE-2026-27637 CRITICAL POC
9.8 Feb 25

Predictable password reset tokens in FreeScout help desk before 1.8.206. Weak random number generation allows attackers

CVE-2026-21448 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform before 2.3.10 is vulnerable to server-side template injection (SSTI) through customer address

CVE-2026-21446 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform (2.3 branch before 2.3.10) leaves installation API routes active after setup, allowing unauth

CVE-2022-2870 CRITICAL POC
9.8 Aug 17

A vulnerability was found in laravel 5.1 and classified as problematic. Rated critical severity (CVSS 9.8), this vulnera

CVE-2026-114509 CRITICAL POC
9.2 Oct 21

Laravel TokenGuard authentication bypass is a genuine high-priority issue, not an inflated CVSS score: unauthenticated a

CVE-2026-108963 HIGH POC
8.8 Oct 11

Databasement instances before 1.8.2 allow an authenticated user to achieve remote code execution by injecting path-redir

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy