CVE-2025-32015CWE-79

FreshRSS vulnerable to Cross-site Scripting by embedding <script> tag inside <iframe srcdoc>

Medium · published June 4, 2025

CVSS v3.1
6.7
EPSS
0%
Percentile
38.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.7 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00460 · 38.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-06-04T19:59Z
EPSS history
Timeline
  • 04 JUN 19:59Z
    FreshRSS vulnerable to Cross-site Scripting by embedding <script> tag inside <iframe srcdoc>
    cvelistv5