Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/pwndoc/pwndoc/blob/main/backend/src/lib/report-filters.js#L25
- https://github.com/pwndoc/pwndoc/commit/1d4219c596f4f518798492e48386a20c6e9a2fe6
- https://github.com/pwndoc/pwndoc/security/advisories/GHSA-jw5r-6927-hwpc
- https://github.com/pwndoc/pwndoc/security/advisories/GHSA-jw5r-6927-hwpc
FAQ
What is CVE-2024-55652?
CVE-2024-55652 is a vulnerability with a CVSS score of 6.5 (MEDIUM). PenDoc is a penetration testing reporting application. Prior to commit 1d4219c596f4f518798492e48386a20c6e9a2fe6, an attacker can write a malicious docx template containing expressions that escape the ...
How severe is CVE-2024-55652?
CVE-2024-55652 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-55652?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.