CVE-2024-55652CWE-1336

PwnDoc Server-Side Template Injection vulnerability - Sandbox Escape to RCE using custom filters

Medium · published December 11, 2024

CVSS v3.1
6.5
EPSS
1%
Percentile
51.5
In the wild
Unconfirmed
What it is

PenDoc is a penetration testing reporting application. Prior to commit 1d4219c596f4f518798492e48386a20c6e9a2fe6, an attacker can write a malicious docx template containing expressions that escape the JavaScript sandbox to execute arbitrary code on the system. An attacker who can control the contents of the template document is able to execute arbitrary code on the system. By default, only users with the `admin` role are able to create or update templates. Commit 1d4219c596f4f518798492e48386a20c6e9a2fe6 patches the issue.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00672 · 51.5th percentile
Weakness
CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
Published
2024-12-11T22:41Z
EPSS history
Timeline
  • 11 DEC 22:41Z
    PwnDoc Server-Side Template Injection vulnerability - Sandbox Escape to RCE using custom filters
    cvelistv5