CVE-2025-59948: FreshRSS is vulnerable to XSS due to lack of CSP on HTML query page

Published Sep 29, 2025
·
Updated

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 Software

2 affected components
FreshRSS FreshRSS<=1.26.3
FreshRSS FreshRSS<1.27.0

Event History

Sep 29, 2025
CVE Published
via MITRE·10:56 PM
Data Sourced
via MITRE·10:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-59948?

CVE-2025-59948 has a medium severity rating due to its potential for XSS exploitation.

2

How do I fix CVE-2025-59948?

To fix CVE-2025-59948, upgrade FreshRSS to version 1.27.0 or later.

3

What types of attacks are possible with CVE-2025-59948?

CVE-2025-59948 allows for Cross-Site Scripting (XSS) attacks through un-sanitized event handler attributes.

4

Which versions of FreshRSS are affected by CVE-2025-59948?

FreshRSS versions 1.26.3 and below are affected by CVE-2025-59948.

5

Is a Content Security Policy (CSP) relevant to CVE-2025-59948?

CSP mitigates the risks associated with CVE-2025-59948 since it can prevent the execution of XSS payloads.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203