{"id":"GHSA-3h7v-wqw7-ff28","summary":"Cross site scripting in publify","details":"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.","aliases":["BIT-publify-2021-25975","CVE-2021-25975"],"modified":"2023-12-06T01:00:58.177498Z","published":"2022-05-24T22:28:08Z","database_specific":{"nvd_published_at":"2021-11-10T11:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-06-03T15:48:44Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25975"},{"type":"WEB","url":"https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101"},{"type":"PACKAGE","url":"https://github.com/publify/publify"},{"type":"WEB","url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974"}],"affected":[{"package":{"name":"publify_core","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3h7v-wqw7-ff28/GHSA-3h7v-wqw7-ff28.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}