CVE-2026-63432

Horilla: Server-Side Template Injection (SSTI) in Mail Preview Endpoints Allows Authenticated Users to Disclose Password Hashes and Server Metadata

Published Sep 25, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Horilla is an HR and CRM software. From 1.0.0 until 1.6.0 and 2.0.0, the get_mail_preview handlers in recruitment/views/actions.py and employee/not_in_out_dashboard.py render a user-controlled body at /recruitment/get-mail-preview/ and /employee/get-employee-mail-preview with the full request object in the Django template context. An authenticated user with a valid CSRF token can use template attribute traversal to read request.user.password, request.META, and related-user attributes, exposing password hashes, personal data, and server request metadata. Django template restrictions prevent arbitrary code execution through this primitive, so the demonstrated impact is information disclosure and possible offline password cracking or account compromise. This issue is fixed in versions 1.6.0 and 2.0.0.

Analysis

AI-generated

Technical impact

The vulnerability is a Server‑Side Template Injection in the mail preview handlers of Horilla HR. An authenticated user who provides a valid CSRF token can inject malicious template expressions that traverse attributes of the request object, reading fields such as request.user.password and request.META. This allows leakage of password hashes, personal data, and server metadata, but does not lead to arbitrary code execution due to Django’s template restrictions.

Affected Systems

Horilla HR, versions from 1.0.0 through 1.6.0 and the 2.0.0 release, contain the affected get_mail_preview endpoints in recruitment/views/actions.py and employee/not_in_out_dashboard.py. The issue is present in all releases up to and including 2.0.0 and is fixed in 1.6.0 and newer 2.0.0 revisions.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. The EPSS score is not available, so the exploitation probability is uncertain. The vulnerability is not listed in the CISA KEV catalog. An attacker must be authenticated with the application and possess a valid CSRF token, then supply a crafted template expression that accesses request attributes. The impact is limited to disclosure of sensitive data and potential offline password cracking rather than direct remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Horilla HR to version 1.6.0 or later;
  • Restrict access to the get_mail_preview endpoints to privileged roles only, such as administrators, to limit the number of users who can exploit the vulnerability.
  • Remove the full request object from the template context or sanitize template input to prevent attribute traversal.

Generated by OpenCVE AI on September 26, 2026 at 00:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Horilla
Horilla horilla
Vendors & Products Horilla
Horilla horilla
Type Values Removed Values Added
Description Horilla is an HR and CRM software. From 1.0.0 until 1.6.0 and 2.0.0, the get_mail_preview handlers in recruitment/views/actions.py and employee/not_in_out_dashboard.py render a user-controlled body at /recruitment/get-mail-preview/ and /employee/get-employee-mail-preview with the full request object in the Django template context. An authenticated user with a valid CSRF token can use template attribute traversal to read request.user.password, request.META, and related-user attributes, exposing password hashes, personal data, and server request metadata. Django template restrictions prevent arbitrary code execution through this primitive, so the demonstrated impact is information disclosure and possible offline password cracking or account compromise. This issue is fixed in versions 1.6.0 and 2.0.0.
Title Horilla: Server-Side Template Injection (SSTI) in Mail Preview Endpoints Allows Authenticated Users to Disclose Password Hashes and Server Metadata
Weaknesses CWE-200
CWE-94
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 2:32 PM
Reserved
Jul 16, 2026, 7:35 PM
Status
Deferred
Published
Sep 25, 2026, 10:17 PM
Modified
Sep 28, 2026, 4:32 PM