{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-34213 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-34213 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-34213 is a medium-severity missing authorization vulnerability in docmost, published on 14 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-34213 and fix it if it is affected.\n\nWhat it is: CVE-2026-34213 is a medium-severity missing authorization vulnerability in docmost, published on 14 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-34213 in the wild and no public exploit code.\n\nAffected product: docmost. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34213/ (Markdown: https://insights.sbomify.com/CVE-2026-34213/index.md)","id":"CVE-2026-34213","markdown":"https://insights.sbomify.com/CVE-2026-34213/index.md","name":"CVE-2026-34213","record":{"aliases":["GHSA-89fp-2hch-j9gp"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Docmost wiki software","requires_auth":"low_privilege","summary":"An authenticated user can overwrite attachments on other pages in the same workspace by manipulating attachment IDs, compromising data integrity.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"docmost","vendor":"docmost"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"Docmost is open-source collaborative wiki and documentation software. Starting in version 0.3.0 and prior to version 0.71.0, improper authorization in Docmost allows a low-privileged authenticated user to overwrite another page's attachment within the same workspace by supplying a victim `attachmentId` to `POST /api/files/upload`. This is a remote integrity issue requiring no victim interaction. Version 0.71.0 contains a patch.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-06-26","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-26T12:43:11Z","kind":"github_poc","ref":"https://github.com/0xmrma/CVE-2026-34213","stars":0,"title":"A low-privileged Docmost user could supply a victim attachmentId to the generic upload endpoint and overwrite another page's stored attachment inside the same workspace."}],"tier":"poc_unverified"},"has_fix":false,"headline":"Docmost has cross-page attachment overwrite via flawed attachmentId overwrite validation","id":"CVE-2026-34213","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Trino: Iceberg REST catalog static and vended credentials are accessible via query JSON","id":"CVE-2026-34214"},"packages":[],"prev":{"headline":"Docmost page content has stored XSS via unsanitized attachment URLs","id":"CVE-2026-34212"},"products":["docmost"],"published":"2026-04-14","related":[{"cvss_score":7.3,"headline":"Docmost Affected by Stored XSS in Public Share Page","id":"CVE-2026-24045","kev_date_added":null,"published":"2026-02-10"},{"cvss_score":7.1,"headline":"Docmost affected by an Arbitrary File Write via Zip Import Feature (ZipSlip)","id":"CVE-2026-22249","kev_date_added":null,"published":"2026-01-15"},{"cvss_score":6.3,"headline":"Docmost is vulnerable to stored Cross-Site Scripting (XSS) through Mermaid rendering","id":"CVE-2026-23630","kev_date_added":null,"published":"2026-01-21"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2025-55574","kev_date_added":null,"published":"2025-08-25"},{"cvss_score":5.4,"headline":"Docmost: XSS in Comments with JavaScript URI","id":"CVE-2026-40927","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":5.4,"headline":"Docmost page content has stored XSS via unsanitized attachment URLs","id":"CVE-2026-34212","kev_date_added":null,"published":"2026-04-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-15","vendors":["docmost"]},"summary":"An authenticated user can overwrite attachments on other pages in the same workspace by manipulating attachment IDs, compromising data integrity.","url":"https://insights.sbomify.com/CVE-2026-34213/"}