
CVE-2025-27413 – PwnDoc Arbitrary File Write to RCE using Path Traversal in template update from backup templates.json
https://notcve.org/view.php?id=CVE-2025-27413
28 Feb 2025 — PwnDoc is a penetration test reporting application. Prior to version 1.2.0, the backup restore functionality allows an administrator to import raw data into the database, including Path Traversal (`../`) sequences. This is problematic for the template update functionality as it uses the path from the database to write arbitrary content to, potentially overwriting source code to achieve Remote Code Execution. Any user with the `backups:create`, `backups:update` and `templates:update` permissions (only admini... • https://github.com/pwndoc/pwndoc/blob/14acb704891245bf1703ce6296d62112e85aa995/backend/src/models/template.js#L170-L175 • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') •

CVE-2025-27410 – PwnDoc Arbitrary File Write to RCE using Path Traversal in backup restore as admin
https://notcve.org/view.php?id=CVE-2025-27410
28 Feb 2025 — PwnDoc is a penetration test reporting application. Prior to version 1.2.0, the backup restore functionality is vulnerable to path traversal in the TAR entry's name, allowing an attacker to overwrite any file on the system with their content. By overwriting an included `.js` file and restarting the container, this allows for Remote Code Execution as an administrator. The remote code execution occurs because any user with the `backups:create` and `backups:update` (only administrators by default) is able to o... • https://github.com/shreyas-malhotra/CVE-2025-27410 • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE-23: Relative Path Traversal •

CVE-2025-23044 – Cross-Site Request Forgery (CSRF) allows creating admin account with POST request
https://notcve.org/view.php?id=CVE-2025-23044
20 Jan 2025 — PwnDoc is a penetration test report generator. There is no CSRF protection in pwndoc, allowing attackers to send requests on a logged-in user's behalf. This includes GET and POST requests due to the missing SameSite= attribute on cookies and the ability to refresh cookies. Commit 14acb704891245bf1703ce6296d62112e85aa995 patches the issue. • https://github.com/pwndoc/pwndoc/commit/14acb704891245bf1703ce6296d62112e85aa995 • CWE-352: Cross-Site Request Forgery (CSRF) •

CVE-2024-55652 – PwnDoc Server-Side Template Injection vulnerability - Sandbox Escape to RCE using custom filters
https://notcve.org/view.php?id=CVE-2024-55652
11 Dec 2024 — 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 patc... • https://github.com/pwndoc/pwndoc/blob/main/backend/src/lib/report-filters.js#L258-L260 • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine •

CVE-2024-55653 – pwndoc's UnhandledPromiseRejection on audits causes Denial of Service (DoS)
https://notcve.org/view.php?id=CVE-2024-55653
10 Dec 2024 — PwnDoc is a penetration test report generator. In versions up to and including 0.5.3, an authenticated user is able to crash the backend by raising a `UnhandledPromiseRejection` on audits which exits the backend. The user doesn't need to know the audit id, since a bad audit id will also raise the rejection. With the backend being unresponsive, the whole application becomes unusable for all users of the application. As of time of publication, no known patches are available. • https://github.com/pwndoc/pwndoc/security/advisories/GHSA-ggqg-3f7v-c8rc • CWE-20: Improper Input Validation •

CVE-2024-55602 – PenDoc vulnerable to Arbitrary File Read on updating and downloading templates using Path Traversal
https://notcve.org/view.php?id=CVE-2024-55602
10 Dec 2024 — PwnDoc is a penetration test report generator. Prior to commit 1d4219c596f4f518798492e48386a20c6e9a2fe6, an authenticated user who is able to update and download templates can inject path traversal (`../`) sequences into the file extension property to read arbitrary files on the system. Commit 1d4219c596f4f518798492e48386a20c6e9a2fe6 contains a patch for the issue. • https://gist.github.com/JorianWoltjer/8a42e25c6dfa7604020d2a226e193407 • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') •

CVE-2022-45771
https://notcve.org/view.php?id=CVE-2022-45771
05 Dec 2022 — An issue in the /api/audits component of Pwndoc v0.5.3 allows attackers to escalate privileges and execute arbitrary code via uploading a crafted audit file. • https://github.com/p0dalirius/CVE-2022-45771-Pwndoc-LFI-to-RCE •

CVE-2022-44022
https://notcve.org/view.php?id=CVE-2022-44022
29 Oct 2022 — PwnDoc through 0.5.3 might allow remote attackers to identify valid user account names by leveraging response timings for authentication attempts. PwnDoc hasta 0.5.3 podría permitir a atacantes remotos identificar nombres de cuentas de usuario válidos aprovechando los tiempos de respuesta para los intentos de autenticación. • https://cve.nstsec.com/cve-2022-44022 • CWE-307: Improper Restriction of Excessive Authentication Attempts •

CVE-2022-44023
https://notcve.org/view.php?id=CVE-2022-44023
29 Oct 2022 — PwnDoc through 0.5.3 might allow remote attackers to identify disabled user account names by leveraging response messages for authentication attempts. PwnDoc hasta 0.5.3 podría permitir a atacantes remotos identificar nombres de cuentas de usuario deshabilitadas aprovechando los mensajes de respuesta para intentos de autenticación. • https://cve.nstsec.com/cve-2022-44023 • CWE-307: Improper Restriction of Excessive Authentication Attempts •

CVE-2021-31590
https://notcve.org/view.php?id=CVE-2021-31590
19 Jul 2021 — PwnDoc all versions until 0.4.0 (2021-08-23) has incorrect JSON Webtoken handling, leading to incorrect access control. With a valid JSON Webtoken that is used for authentication and authorization, a user can keep his admin privileges even if he is downgraded to the "user" privilege. Even after a user's account is deleted, the user can still access the administration panel (and add or delete users) and has complete access to the system. PwnDoc todas las versiones hasta la 0.4.0 (2021-08-23) tiene un manejo ... • https://github.com/pwndoc/pwndoc/blob/59519735b0d831d8fd96d7c3387f66d28407e583/CHANGELOG.md#040-2021-08-23 •