CVE-2025-59948
JSON

6.7medium

FreshRSS is vulnerable to XSS due to lack of CSP on HTML query page

Severity
6.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

FreshRSS is a free, self-hostable RSS aggregator. Versions 1.26.3 and below do not sanitize certain event handler attributes in feed content, so by finding a page that renders feed entries without CSP, it is possible to execute an XSS payload. The Allow API access authentication setting needs to be enabled by the instance administrator beforehand for the attack to work as it relies on api/query.php. An account takeover is possible by sending a change password request via the XSS payload / setting UserJS for persistence / stealing the autofill password / displaying a phishing page with a spoofed URL using history.replaceState() If the victim is an administrator, the attacker can also perform administrative actions. This issue is fixed in version 1.27.0.

Affected

Product or packageVersionsReported by
FreshRSS FreshRSS< 1.27.0, before 1.27.0CVE List, NVD

All scores

GitHub_M6.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

FreshRSS is a free, self-hostable RSS aggregator. Versions 1.26.3 and below do not sanitize certain event handler attributes in feed content, so by finding a page that renders feed entries without CSP, it is possible to execute an XSS payload. The Allow API access authentication setting needs to be enabled by the instance administrator beforehand for the attack to work as it relies on api/query.php. An account takeover is possible by sending a change password request via the XSS payload / setting UserJS for persistence / stealing the autofill password / displaying a phishing page with a spoofed URL using history.replaceState() If the victim is an administrator, the attacker can also perform administrative actions. This issue is fixed in version 1.27.0.

NVD (es)

FreshRSS es un agregador RSS gratuito y autoalojable. Las versiones 1.26.3 e inferiores no sanean ciertos atributos de manejador de eventos en el contenido del feed, por lo que, al encontrar una página que renderiza entradas de feed sin CSP, es posible ejecutar una carga útil de XSS. La configuración de autenticación Permitir acceso a la API debe ser habilitada por el administrador de la instancia de antemano para que el ataque funcione, ya que se basa en api/query.php. Es posible una toma de control de cuenta enviando una solicitud de cambio de contraseña a través de la carga útil de XSS / configurando UserJS para persistencia / robando la contraseña de autocompletar / mostrando una página de phishing con una URL falsificada usando history.replaceState(). Si la víctima es un administrador, el atacante también puede realizar acciones administrativas. Este problema está solucionado en la versión 1.27.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59948 changed 2025-09-30CVE Terms of Use
NVDCVE-2025-59948 changed 2026-10-19Public domain