XSS in yarr RSS reader
Web page · https://0x67673068.me/xss-in-yarr
Note: The dark mode of this site is kind of hard to read.
First seen by Oriel on .
AI summary
The post describes an XSS vulnerability in yarr, where a crafted iframe `javascript:` URL passes host-based sanitization and executes when a user loads an RSS item.
- yarr allows iframe elements and their `src` attributes, validating iframe sources by extracting the parsed host and comparing it with the feed origin or a whitelist.
- A URL such as `javascript://www.youtube.com/%0a<arbitrary-js>` is parsed as having the whitelisted host `www.youtube.com`, so the sanitizer accepts it.
- In the browser, the URL is interpreted as JavaScript; after URL decoding, the newline ends a `//` comment and allows the payload to run.
- The iframe sandbox includes `allow-scripts` and `allow-same-origin`, which the author says permits the attack; they describe the impact as limited, potentially revealing which feeds subscribers view.
- The author says they notified yarr's maintainers but received no response.
#cross-site scripting #rss #go
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Lobsters: 10, latest observation ; +6 over observed period since
Comments
Comment count reported by the source.
- Lobsters: 3, latest observation ; +3 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Lobsters | 1r7enm | https://0x67673068.me/xss-in-yarr/ Read discussion |