{"id":"CVE-2021-25975","published":"2021-11-10T11:10:13Z","modified":"2025-04-30T15:52:22Z","title":"Publify - Stored Cross-Site Scripting (XSS) due to Unrestricted File Upload","vendor":"publify_core","product":"publify_core","tier":"tail","description":{"text":"In publify, versions v8.0 to v9.2.4 are vulnerable to stored XSS as a result of an unrestricted file upload. This issue allows a user with “publisher” role to inject malicious JavaScript via the uploaded html file.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00597,"percentile":0.49512,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974","tags":["x_refsource_MISC"]},{"url":"https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":9.9},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"publify-core","affectedVersions":[{"vendor":"publify_core","product":"publify_core","versions":[">= v8.0, < unspecified",">= unspecified, <= v9.2.4"]}],"solutions":{"items":["Update to v9.2.5"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-30T15:49:10.069073Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"publify_core","vulnerableRanges":[">=8.0, <9.2.5"],"patched":["9.2.5"],"from":["GHSA-3h7v-wqw7-ff28"],"provenance":"source"}],"summary":{"text":"The Publify core product contains a stored cross-site scripting flaw caused by unrestricted file upload, which lets uploaded HTML files carry malicious JavaScript. An attacker with a publisher-level account can exploit it over the network by uploading a crafted HTML file, and the payload executes in another user's browser once that user interacts with the uploaded content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:22Z"},"euvd":{"id":"EUVD-2022-2187","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-publify-publify-cve-2021-25975","children":[{"from":"CVE-2021-25975","to":"CVE-2022-1811","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["publify_core/app/uploaders/resource_uploader.rb"],"commits":["https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101","https://github.com/publify/publify/commit/0fb6b027fbaf17f6a6551f2148482a03eac12927"],"basis":"rarely changed file"}]},{"from":"CVE-2021-25975","to":"CVE-2022-2815","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["publify_core/app/uploaders/resource_uploader.rb"],"commits":["https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101","https://github.com/publify/publify/commit/af69097d349f4c00f244c51cd3c3e937fd3387cd"],"basis":"rarely changed file"}]}]}}