Docmost
Monthly
Arbitrary local file and directory deletion on Docmost deployments that use local storage, exploitable by any authenticated low-privileged user. An attacker stores a crafted avatarUrl value that is not confined to the intended avatar directory; when Docmost's avatar cleanup routine later consumes that stored value, it deletes files or directories reachable by the Docmost service account. The issue affects Docmost versions prior to 0.80.1 and is rated CVSS 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L) - high integrity impact, low availability impact, no confidentiality loss. There is no public exploit code identified at time of analysis, and exploitation requires a valid account, so risk is concentrated in multi-tenant or shared instances running local storage.
Unauthenticated path traversal in Docmost v0.21.0's avatar attachment endpoint allows remote attackers to read arbitrary local files from the server by embedding directory traversal sequences in a POST request to a publicly accessible URL. The flaw exists in the attachment controller (attachment.controller.ts:345) and requires no authentication, making every internet-exposed Docmost v0.21.0 instance vulnerable to local file disclosure. A public advisory with technical details is available from Artresilia; SSVC classifies exploitation as automatable, further elevating practical risk despite a low EPSS of 0.15%.
Stored XSS in Docmost before version 0.25.0 allows authenticated attackers to inject malicious scripts into public share page titles that execute when victims visit shared links, compromising user sessions and data. The vulnerability stems from improper HTML escaping of page titles in meta and title tags, and public exploit code is available. Upgrade to version 0.25.0 or later to remediate.
Docmost versions 0.21.0 through 0.23.x contain a path traversal vulnerability in the zip import feature that allows authenticated attackers to write arbitrary files to the system due to insufficient filename validation. Public exploit code exists for this vulnerability, which could enable attackers to overwrite critical application files or achieve code execution. The vulnerability is patched in version 0.24.0 and affects all installations using the vulnerable import functionality.
Concurrent role-demotion requests in Docmost prior to 0.96.0 can strip the last administrator from a space or the last owner from a workspace, leaving that scope without anyone able to perform administrative actions. Only principals who already hold space-admin or workspace-owner rights can trigger it, and the target must be down to exactly two remaining admins or owners whose demotions are submitted simultaneously so that both count checks pass before either write commits. The resulting impact is limited to loss of administrative control within one space or workspace - no data exposure or code execution - and the vendor-released fix is version 0.96.0; no public exploit code was identified at time of analysis and the issue is assessed as low priority.
Docmost 0.70.0 through 0.80.0 allows an authenticated low-privileged user with edit rights on an exportable page to disclose attachments belonging to restricted pages in the same space by embedding a forged attachmentId and exporting that page with the includeAttachments=true option. The export flow resolves the attacker-supplied attachment identifier against storage without re-validating ownership, so the restricted file is bundled into the returned ZIP even though a direct download would be denied (CWE-639 IDOR). This is a genuine but low-severity read-only authorization flaw (CVSS 3.1 base 4.3), exploitation is limited to attachments within a space the attacker can already access, no public exploit code has been identified at time of analysis, and the issue is fixed in version 0.80.1.
Workspace ADMIN accounts in Docmost prior to 0.90.1 can mint OWNER-level accounts through the workspace invitation flow, because the invite path never enforces a role ceiling that would stop an administrator from granting privileges above their own. An attacker who already holds the ADMIN role can invite an external email address with the OWNER role; once that invitation is accepted, the resulting account holds the highest privilege level in the workspace, enabling a persistent backdoor OWNER account or the elevation of a colluding external user. Exploitation is access-gated rather than anonymous - it requires an authenticated HIGH-privilege (ADMIN) account and the invitee must accept the emailed invitation (PR:H, UI:R) - and no public exploit code or confirmed active exploitation was identified at time of analysis.
Unauthenticated path traversal in Docmost versions prior to 0.80.1 allows a remote attacker to read files from local storage by supplying attacker-controlled fileName path segments to the public avatar and logo image endpoint, which resolves them outside the intended image directory. Disclosure is constrained to local-storage objects whose final basename satisfies the route's UUID check, so arbitrary system files cannot be read; the assessed impact is confidentiality-only (CVSS 5.3) and the flaw requires a deployment using the local filesystem storage driver rather than external/object storage. No public exploit code has been identified at time of analysis and the issue is not confirmed as actively exploited, though the low attack complexity and lack of authentication make prompt upgrading to 0.80.1 advisable.
Authenticated workspace members in Docmost prior to 0.90.1 can read confidential sync-block content from private spaces via the transclusion/sync-block lookup API, which fails to enforce private space membership before resolving the source page. This authorization bypass through user-controlled key (CWE-639) is rated CVSS 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N), reflecting low confidentiality impact. No public exploit code has been identified at time of analysis.
Uncontrolled archive extraction in Docmost 0.21.0 through 0.95.0 lets any authenticated workspace member who holds edit rights to at least one space upload a crafted ZIP to the page-import feature and exhaust server disk space, crashing the import worker and degrading or taking down the instance for all tenants. The extractor imposes no cap on total uncompressed size, per-entry size, or entry count, and it automatically unwraps one nested ZIP, so an outer archive that fits inside the default 200 MB upload limit can expand to multiple gigabytes. This is a genuine but bounded availability-only risk (CVSS 6.5, AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H): confidentiality and integrity are unaffected, anonymous exploitation is not possible, and the most severe cross-tenant impact applies to shared or multi-tenant deployments, while a single-tenant self-hosted install only harms itself. No public exploit code was identified at time of analysis and the flaw is not listed in CISA KEV; EPSS data was not provided.
Stored cross-site scripting in Docmost's comment system allows authenticated users to plant javascript: URI hyperlinks that execute arbitrary JavaScript when victims click them. All Docmost instances prior to version 0.80.0 are affected (CPE: cpe:2.3:a:docmost:docmost:*). No active exploitation has been confirmed - SSVC exploitation status is 'none' and the vulnerability is absent from CISA KEV - and EPSS at 0.03% (8th percentile) indicates minimal real-world exploitation probability. Vendor-released patch is available in version 0.80.0.
Docmost versions 0.3.0 through 0.70.x allow authenticated users with low privileges to overwrite arbitrary attachments belonging to other users within the same workspace via improper authorization checks on the POST /api/files/upload endpoint. An attacker can supply a victim's attachmentId to modify or corrupt files without user interaction, compromising document integrity across the workspace. No public exploit code has been identified; patch version 0.71.0 is available.
Stored cross-site scripting (XSS) in Docmost prior to version 0.71.0 allows authenticated users to inject malicious `javascript:` URLs into attachment nodes, executing arbitrary JavaScript in the browser context of other users who activate those attachments. Attack requires low privileges and user interaction (clicking the attachment), affecting all users viewing compromised pages. The vulnerability has been patched in version 0.71.0.
Stored cross-site scripting (XSS) in Docmost prior to version 0.70.0 allows authenticated attackers to inject malicious scripts through MIME type spoofing, potentially compromising user sessions and data integrity. The vulnerability requires user interaction (clicking a link or viewing injected content) and affects only the confidentiality and integrity of affected users' data, not availability. Vendor-released patch: version 0.70.0.
Docmost versions 0.70.0 through 0.70.2 allow unauthenticated users to bypass authorization controls and enumerate restricted child page titles and text snippets via the public search endpoint, exposing confidential documentation content that should only be visible to authorized share viewers. This medium-severity confidentiality breach affects any Docmost instance with publicly shared workspaces and requires user interaction (clicking a link or accessing the search interface), but poses significant risk to organizations treating Docmost as a confidential knowledge base.
Stored XSS in Docmost 0.3.0-0.23.2 allows authenticated users to execute arbitrary JavaScript in the browsers of document viewers through malicious Mermaid diagram code blocks. The vulnerability exists because unsanitized SVG/HTML output from Mermaid rendering is directly injected into the DOM, and Mermaid's security controls can be disabled via diagram directives. Public exploit code exists for this vulnerability, which is fixed in version 0.24.0.
Cross Site Scripting vulnerability in docmost v.0.21.0 and before allows an attacker to execute arbitrary code. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
Arbitrary local file and directory deletion on Docmost deployments that use local storage, exploitable by any authenticated low-privileged user. An attacker stores a crafted avatarUrl value that is not confined to the intended avatar directory; when Docmost's avatar cleanup routine later consumes that stored value, it deletes files or directories reachable by the Docmost service account. The issue affects Docmost versions prior to 0.80.1 and is rated CVSS 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L) - high integrity impact, low availability impact, no confidentiality loss. There is no public exploit code identified at time of analysis, and exploitation requires a valid account, so risk is concentrated in multi-tenant or shared instances running local storage.
Unauthenticated path traversal in Docmost v0.21.0's avatar attachment endpoint allows remote attackers to read arbitrary local files from the server by embedding directory traversal sequences in a POST request to a publicly accessible URL. The flaw exists in the attachment controller (attachment.controller.ts:345) and requires no authentication, making every internet-exposed Docmost v0.21.0 instance vulnerable to local file disclosure. A public advisory with technical details is available from Artresilia; SSVC classifies exploitation as automatable, further elevating practical risk despite a low EPSS of 0.15%.
Stored XSS in Docmost before version 0.25.0 allows authenticated attackers to inject malicious scripts into public share page titles that execute when victims visit shared links, compromising user sessions and data. The vulnerability stems from improper HTML escaping of page titles in meta and title tags, and public exploit code is available. Upgrade to version 0.25.0 or later to remediate.
Docmost versions 0.21.0 through 0.23.x contain a path traversal vulnerability in the zip import feature that allows authenticated attackers to write arbitrary files to the system due to insufficient filename validation. Public exploit code exists for this vulnerability, which could enable attackers to overwrite critical application files or achieve code execution. The vulnerability is patched in version 0.24.0 and affects all installations using the vulnerable import functionality.
Concurrent role-demotion requests in Docmost prior to 0.96.0 can strip the last administrator from a space or the last owner from a workspace, leaving that scope without anyone able to perform administrative actions. Only principals who already hold space-admin or workspace-owner rights can trigger it, and the target must be down to exactly two remaining admins or owners whose demotions are submitted simultaneously so that both count checks pass before either write commits. The resulting impact is limited to loss of administrative control within one space or workspace - no data exposure or code execution - and the vendor-released fix is version 0.96.0; no public exploit code was identified at time of analysis and the issue is assessed as low priority.
Docmost 0.70.0 through 0.80.0 allows an authenticated low-privileged user with edit rights on an exportable page to disclose attachments belonging to restricted pages in the same space by embedding a forged attachmentId and exporting that page with the includeAttachments=true option. The export flow resolves the attacker-supplied attachment identifier against storage without re-validating ownership, so the restricted file is bundled into the returned ZIP even though a direct download would be denied (CWE-639 IDOR). This is a genuine but low-severity read-only authorization flaw (CVSS 3.1 base 4.3), exploitation is limited to attachments within a space the attacker can already access, no public exploit code has been identified at time of analysis, and the issue is fixed in version 0.80.1.
Workspace ADMIN accounts in Docmost prior to 0.90.1 can mint OWNER-level accounts through the workspace invitation flow, because the invite path never enforces a role ceiling that would stop an administrator from granting privileges above their own. An attacker who already holds the ADMIN role can invite an external email address with the OWNER role; once that invitation is accepted, the resulting account holds the highest privilege level in the workspace, enabling a persistent backdoor OWNER account or the elevation of a colluding external user. Exploitation is access-gated rather than anonymous - it requires an authenticated HIGH-privilege (ADMIN) account and the invitee must accept the emailed invitation (PR:H, UI:R) - and no public exploit code or confirmed active exploitation was identified at time of analysis.
Unauthenticated path traversal in Docmost versions prior to 0.80.1 allows a remote attacker to read files from local storage by supplying attacker-controlled fileName path segments to the public avatar and logo image endpoint, which resolves them outside the intended image directory. Disclosure is constrained to local-storage objects whose final basename satisfies the route's UUID check, so arbitrary system files cannot be read; the assessed impact is confidentiality-only (CVSS 5.3) and the flaw requires a deployment using the local filesystem storage driver rather than external/object storage. No public exploit code has been identified at time of analysis and the issue is not confirmed as actively exploited, though the low attack complexity and lack of authentication make prompt upgrading to 0.80.1 advisable.
Authenticated workspace members in Docmost prior to 0.90.1 can read confidential sync-block content from private spaces via the transclusion/sync-block lookup API, which fails to enforce private space membership before resolving the source page. This authorization bypass through user-controlled key (CWE-639) is rated CVSS 4.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N), reflecting low confidentiality impact. No public exploit code has been identified at time of analysis.
Uncontrolled archive extraction in Docmost 0.21.0 through 0.95.0 lets any authenticated workspace member who holds edit rights to at least one space upload a crafted ZIP to the page-import feature and exhaust server disk space, crashing the import worker and degrading or taking down the instance for all tenants. The extractor imposes no cap on total uncompressed size, per-entry size, or entry count, and it automatically unwraps one nested ZIP, so an outer archive that fits inside the default 200 MB upload limit can expand to multiple gigabytes. This is a genuine but bounded availability-only risk (CVSS 6.5, AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H): confidentiality and integrity are unaffected, anonymous exploitation is not possible, and the most severe cross-tenant impact applies to shared or multi-tenant deployments, while a single-tenant self-hosted install only harms itself. No public exploit code was identified at time of analysis and the flaw is not listed in CISA KEV; EPSS data was not provided.
Stored cross-site scripting in Docmost's comment system allows authenticated users to plant javascript: URI hyperlinks that execute arbitrary JavaScript when victims click them. All Docmost instances prior to version 0.80.0 are affected (CPE: cpe:2.3:a:docmost:docmost:*). No active exploitation has been confirmed - SSVC exploitation status is 'none' and the vulnerability is absent from CISA KEV - and EPSS at 0.03% (8th percentile) indicates minimal real-world exploitation probability. Vendor-released patch is available in version 0.80.0.
Docmost versions 0.3.0 through 0.70.x allow authenticated users with low privileges to overwrite arbitrary attachments belonging to other users within the same workspace via improper authorization checks on the POST /api/files/upload endpoint. An attacker can supply a victim's attachmentId to modify or corrupt files without user interaction, compromising document integrity across the workspace. No public exploit code has been identified; patch version 0.71.0 is available.
Stored cross-site scripting (XSS) in Docmost prior to version 0.71.0 allows authenticated users to inject malicious `javascript:` URLs into attachment nodes, executing arbitrary JavaScript in the browser context of other users who activate those attachments. Attack requires low privileges and user interaction (clicking the attachment), affecting all users viewing compromised pages. The vulnerability has been patched in version 0.71.0.
Stored cross-site scripting (XSS) in Docmost prior to version 0.70.0 allows authenticated attackers to inject malicious scripts through MIME type spoofing, potentially compromising user sessions and data integrity. The vulnerability requires user interaction (clicking a link or viewing injected content) and affects only the confidentiality and integrity of affected users' data, not availability. Vendor-released patch: version 0.70.0.
Docmost versions 0.70.0 through 0.70.2 allow unauthenticated users to bypass authorization controls and enumerate restricted child page titles and text snippets via the public search endpoint, exposing confidential documentation content that should only be visible to authorized share viewers. This medium-severity confidentiality breach affects any Docmost instance with publicly shared workspaces and requires user interaction (clicking a link or accessing the search interface), but poses significant risk to organizations treating Docmost as a confidential knowledge base.
Stored XSS in Docmost 0.3.0-0.23.2 allows authenticated users to execute arbitrary JavaScript in the browsers of document viewers through malicious Mermaid diagram code blocks. The vulnerability exists because unsanitized SVG/HTML output from Mermaid rendering is directly injected into the DOM, and Mermaid's security controls can be disabled via diagram directives. Public exploit code exists for this vulnerability, which is fixed in version 0.24.0.
Cross Site Scripting vulnerability in docmost v.0.21.0 and before allows an attacker to execute arbitrary code. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.