| 标题 | django-haystack 3.3.0 Code Execution |
|---|
| 描述 | django-haystack (django-haystack) up to 3.3.0 is vulnerable to template injection via eval() in the more_like_this template tag (CWE-95). The result_class parameter is passed directly to the Python built-in eval() function without input sanitization or restriction. An authenticated user with Django template editing privileges can inject arbitrary Python expressions, leading to remote code execution on the server. The vulnerability is documented in public GitHub Security Advisory GHSA-r3hx-x5rh-p9vv, which was published by the maintainer. The maintainer did not request a CVE. CVSS v3.1 Base Score 9.0 High (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H). Researcher: mohammad adnan (cystack.ps redteam). |
|---|
| 来源 | ⚠️ https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vv |
|---|
| 用户 | Anonymous User |
|---|
| 提交 | 2026-09-15 00時20分 (21 日前) |
|---|
| 管理 | 2026-10-05 09時33分 (20 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413523 [django-haystack 直到 3.3.0 more_like_this Template Tag elasticsearch_backend.py _to_python result_class 权限提升] |
|---|
| 积分 | 20 |
|---|