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

- Severity: Medium 6.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-29T22:56:46.073Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- FreshRSS FreshRSS: < 1.27.0; before 1.27.0

## Every score

- GitHub_M: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-rwhf-vjjx-gmm9> (exploit, vendor-advisory)
- <https://github.com/FreshRSS/FreshRSS/commit/7df6c201f2e6a6521d20718dfd8d9794c7437d1f> (patch)
- <https://github.com/FreshRSS/FreshRSS/releases/tag/1.27.0> (release-notes)

## Sources

- CVE List: [CVE-2025-59948](https://www.cve.org/CVERecord?id=CVE-2025-59948), CVE Terms of Use, modified 2025-09-30
- NVD: [CVE-2025-59948](https://nvd.nist.gov/vuln/detail/CVE-2025-59948), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-59948 · Whole record: https://cve.day/CVE-2025-59948.json · Rebuilt by cve.day 2026-11-25T22:59:05.336Z
