Cross site scripting in publify
Date: 2022-05
Affected: rubygems/publify_core
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2021-25975
CWE: CWE-79
CVSS: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):