# CVE-2026-50571: WebSub: Reflected script execution through intent-verification challenges

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- 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.39%, higher than 24% of CVEs (2026-11-30)
- Published: 2026-10-27T22:40:54.912Z
- Modified: 2026-10-28T17:18:30.363Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

WebSub is a W3C recommendation produced by the Social Web Working Group. In recommendation REC-websub-20180123, the intent-verification protocol requires a subscriber to echo the `hub.challenge` value, also exposed as `hub_challenge` by some frameworks, but does not require safe response media typing or disabled MIME sniffing. An attacker can initiate a subscription to obtain a callback URL and redirect a victim browser to a crafted verification request containing HTML or JavaScript. Subscribers that return the challenge as `text/html` can execute the reflected content in the subscriber origin, using a victim's existing session to read private data or perform actions, exposing `localStorage` or `sessionStorage` and browser permissions granted to that origin. An alternative uses the verification response as an attacker-controlled same-origin script resource to bypass `script-src 'self'`; this can remain possible with `application/octet-stream` when MIME sniffing is allowed. Safe media typing and `X-Content-Type-Options: nosniff` are both needed to address the described scenarios. WebSub Rocks demonstrated reflection, but the advisory does not establish practical impact on that demonstration site.

(As written by CVE List.)

## Affected

- w3c websub: = REC-websub-20180123

## References

- <https://github.com/w3c/websub/security/advisories/GHSA-f4hw-w632-m6wh>
- <https://github.com/aaronpk/websub.rocks/commit/c9e24b8815c0d9f43350f0408ce2aedf9aa78ede>

## Sources

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

---

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