{"id":"CVE-2021-25975","aliases":["BIT-publify-2021-25975","EUVD-2022-2187","GHSA-3h7v-wqw7-ff28"],"status":"published","title":"Publify - Stored Cross-Site Scripting (XSS) due to Unrestricted File Upload","description":"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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00597,"percentile":0.48911,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-11-10T11:10:13Z","modified":"2026-10-20T10:53:40Z","fixes":[{"ecosystem":"RubyGems","package":"publify_core","fixed_in":["9.2.5"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"publify","fixed_in":["9.2.4"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"publify_core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0"},{"fixed":"9.2.5"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"publify","ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"9.2.4"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"publify_core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0"},{"fixed":"9.2.5"}]}],"versions":["9.0.0","9.0.0.pre1","9.0.0.pre2","9.0.0.pre3","9.0.0.pre4","9.0.0.pre5","9.0.0.pre6","9.0.1","9.1.0","9.2.0","9.2.1","9.2.2","9.2.3","9.2.4"]}],"products":[{"vendor":"publify_core","product":"publify_core"},{"vendor":"publify_project","product":"publify"}],"references":[{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974","tags":["x_refsource_MISC","x_transferred","Not Applicable","Third Party Advisory","web","advisory"]},{"url":"https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25975","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3h7v-wqw7-ff28"},{"url":"https://github.com/publify/publify","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25975","title":"Publify - Stored Cross-Site Scripting (XSS) due to Unrestricted File Upload","description":"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.","status":"published","published":"2021-11-10T11:10:13Z","modified":"2025-04-30T15:52:22.378Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2022-2187","description":"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.","status":"published","published":"2021-11-10T11:10:13Z","modified":"2025-04-30T15:52:22Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:51:59.026225Z"}],"ghsa":[{"id":"GHSA-3h7v-wqw7-ff28","title":"Cross site scripting in publify","description":"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.","status":"published","published":"2022-05-24T22:28:08Z","modified":"2023-01-27T05:03:02Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:20.144464Z"}],"nvd":[{"id":"CVE-2021-25975","description":"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.","status":"published","published":"2021-11-10T11:15:09.197Z","modified":"2026-06-17T03:42:42.723Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:00.984108Z"}],"osv":[{"id":"CVE-2021-25975","description":"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.","status":"published","published":"2021-11-10T11:15:09.197Z","modified":"2026-10-20T10:53:40.752485624Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.778776Z"},{"id":"GHSA-3h7v-wqw7-ff28","title":"Cross site scripting in publify","description":"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.","status":"published","published":"2022-05-24T22:28:08Z","modified":"2023-12-06T01:00:58.177498Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"BIT-publify-2021-25975","description":"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.","status":"published","published":"2024-03-06T11:04:20.994Z","modified":"2024-03-06T11:25:28.861Z","updated_at":"2026-11-02T15:28:34.724063Z"}]}}
