FreshRSS vulnerable to Cross-site Scripting by embedding <script> tag inside <iframe srcdoc>
Description
FreshRSS is a self-hosted RSS feed aggregator. Prior to version 1.26.2, HTML is sanitized improperly inside the <iframe srcdoc> attribute, which leads to cross-site scripting (XSS) by loading an attacker's UserJS inside <script src>. In order to execute the attack, the attacker needs to control one of the victim's feeds and have an account on the FreshRSS instance that the victim is using. An attacker can gain access to the victim's account by exploiting this vulnerability. If the victim is an admin it would be possible to delete all users (cause damage) or execute arbitrary code on the server by modifying the update URL using fetch() via the XSS. Version 1.26.2 contains a patch for the issue.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- github.com/FreshRSS/FreshRSS/commit/54e2f9107d03c5b3bb260f38fdb2736bce449fd4mitrex_refsource_MISC
- github.com/FreshRSS/FreshRSS/security/advisories/GHSA-wgrq-mcwc-8f8vmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.