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.
Published: 2026-09-25
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure via SSTI
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Sat, 26 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Horilla
Horilla horilla
Vendors & Products Horilla
Horilla horilla

Fri, 25 Sep 2026 22:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-25T21:58:21.585Z

Reserved: 2026-07-16T19:35:57.766Z

Link: CVE-2026-63432

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T22:17:14.320

Modified: 2026-09-25T22:17:14.320

Link: CVE-2026-63432

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T22:30:51Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-94

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