APTRS has SSTI vulnerability
APTRS (Automated Penetration Testing Reporting System) is a Python and Django-based automated reporting tool designed for penetration testers and security organizations. In 1.0, there is a vulnerability in the web application's handling of user-supplied input that is incorporated into a Jinja2 template. Specifically, when user input is improperly sanitized or validated, an attacker can inject Jinja2 syntax into the template, causing the server to execute arbitrary code. For example, an attacker might be able to inject expressions like {{ config }}, {{ self.class.mro[1].subclasses() }}, or more dangerous payloads that trigger execution of arbitrary Python code. The vulnerability can be reproduced by submitting crafted input to all the template fields handled by ckeditor, that are passed directly to a Jinja2 template. If the input is rendered without sufficient sanitization, it results in the execution of malicious Jinja2 code on the server.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-56363
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:36 UTC · Revision 1
Source evidence
APTRS (Automated Penetration Testing Reporting System) is a Python and Django-based automated reporting tool designed for penetration testers and security organizations. In 1.0, there is a vulnerability in the web application's handling of user-supplied input that is incorporated into a Jinja2 template. Specifically, when user input is improperly sanitized or validated, an attacker can inject Jinja2 syntax into the template, causing the server to execute arbitrary code. For example, an attacker might be able to inject expressions like {{ config }}, {{ self.class.mro[1].subclasses() }}, or more dangerous payloads that trigger execution of arbitrary Python code. The vulnerability can be reproduced by submitting crafted input to all the template fields handled by ckeditor, that are passed directly to a Jinja2 template. If the input is rendered without sufficient sanitization, it results in the execution of malicious Jinja2 code on the server.
osv:CVE-2024-56363
Complete source record
{
"id": "f3e532eadc59e40cc8150b9651005d1daa6ceceb83937db7f5f0310527c524ae",
"url": "https://osv.dev/vulnerability/CVE-2024-56363",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "APTRS has SSTI vulnerability",
"summary": "APTRS (Automated Penetration Testing Reporting System) is a Python and Django-based automated reporting tool designed for penetration testers and security organizations. In 1.0, there is a vulnerability in the web application's handling of user-supplied input that is incorporated into a Jinja2 template. Specifically, when user input is improperly sanitized or validated, an attacker can inject Jinja2 syntax into the template, causing the server to execute arbitrary code. For example, an attacker might be able to inject expressions like {{ config }}, {{ self.class.mro[1].subclasses() }}, or more dangerous payloads that trigger execution of arbitrary Python code. The vulnerability can be reproduced by submitting crafted input to all the template fields handled by ckeditor, that are passed directly to a Jinja2 template. If the input is rendered without sufficient sanitization, it results in the execution of malicious Jinja2 code on the server.",
"evidence": "osv:CVE-2024-56363",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-56363",
"aliases": [
"CVE-2024-56363",
"GHSA-h4w2-hvcg-938j"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/aptrs/aptrs",
"type": "GIT",
"events": [
{
"introduced": "890bb448b411a20718686ad89e1753e8d0b3044b"
},
{
"fixed": "9f6b6e4a56a9119eb12126a4909441e83b6d7c11"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "= 1.0"
},
{
"last_affected": "= 1.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "9f6b6e4a56a9119eb12126a4909441e83b6d7c11"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"= 1.0",
"1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56363.json"
}
}
],
"modified": "2026-10-28T02:30:22.369056112Z",
"provider": "osv",
"references": [
"https://github.com/APTRS/APTRS/security/advisories/GHSA-h4w2-hvcg-938j",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56363.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-56363",
"https://github.com/APTRS/APTRS/commit/9f6b6e4a56a9119eb12126a4909441e83b6d7c11"
],
"provider_metadata": {
"cwe_ids": [
"CWE-97"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56363.json"
}
},
"related_cves": [
{
"value": "CVE-2024-56363",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488620,
"published_at": "2024-12-23T17:23:57.12+00:00"
}