{"id":"CVE-2021-25974","published":"2021-11-10T11:10:12Z","modified":"2025-04-30T15:52:28Z","title":"Publify - Stored Cross-Site Scripting (XSS) in Editor","vendor":"publify_core","product":"publify_core","tier":"tail","description":{"text":"In Publify, versions v8.0 to v9.2.4 are vulnerable to stored XSS. A user with a “publisher” role is able to inject and execute arbitrary JavaScript code while creating a page/article.","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.49513,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/publify/publify/commit/fefd5f76302adcc425b2b6e7e7d23587cfc0083e","tags":["x_refsource_MISC"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974","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:01.432192Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"publify_core","vulnerableRanges":[">=8.0, <9.2.5"],"patched":["9.2.5"],"from":["GHSA-wmh9-x28j-c6gr"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting (XSS) vulnerability in the editor component of Publify (publify_core), affecting versions v8.0 through v9.2.4. An attacker holding a \"publisher\" role can inject arbitrary JavaScript while creating a page or article, and that script is then executed in the browsers of users who view it, which requires their interaction with the content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:22Z"},"euvd":{"id":"EUVD-2022-5598","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-publify-publify-cve-2021-25974","children":[{"from":"CVE-2021-25974","to":"CVE-2022-0578","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["publify_core/app/models/feedback.rb"],"commits":["https://github.com/publify/publify/commit/fefd5f76302adcc425b2b6e7e7d23587cfc0083e","https://github.com/publify/publify/commit/b50df050c593cc532b2c516792989bcfce2d73f7"],"basis":"rarely changed file"}]},{"from":"CVE-2021-25974","to":"CVE-2023-0299","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["publify_core/app/models/feedback.rb"],"commits":["https://github.com/publify/publify/commit/fefd5f76302adcc425b2b6e7e7d23587cfc0083e","https://github.com/publify/publify/commit/ca46da283572b4f8c0b5aa245008756c8a5fd1b1"],"basis":"shared function","functions":["Feedback"]}]}],"packageHistory":[{"cve":"CVE-2014-3211","published":"2020-01-09","fixed":"8.0.1","kev":false},{"cve":"CVE-2021-25973","published":"2021-11-02","fixed":"9.2.5","kev":false},{"cve":"CVE-2021-25974","published":"2021-11-10","fixed":"9.2.5","kev":false},{"cve":"CVE-2021-25975","published":"2021-11-10","fixed":"9.2.5","kev":false},{"cve":"CVE-2022-0524","published":"2022-02-08","fixed":"9.2.7","kev":false,"link":{"from":"CVE-2021-25974","to":"CVE-2022-0524","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:publify_core","fromFixed":"9.2.5","toFixed":"9.2.7","daysApart":90}]}},{"cve":"CVE-2022-0574","published":"2022-05-16","fixed":"9.2.8","kev":false}],"package":"RubyGems:publify_core"}}