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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.7
- **CVSS:** 5.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.39% (percentile 24, 2026-11-26)
- **CWE:** CWE-79
- **Published:** 2026-10-27T22:40:54.912Z
- **Modified:** 2026-10-28T17:18:30.363Z

## Who should check

- Anyone running w3c websub = REC-websub-20180123

## 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.

## Affected and fixed versions

- w3c websub: = REC-websub-20180123 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-50571. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-50571.md
Affected: w3c websub = REC-websub-20180123
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for w3c websub: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-50571 being exploited?

There is no confirmed exploitation: CVE-2026-50571 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-50571?

Medium: CVSS 5.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-50571?

w3c websub = REC-websub-20180123.

### Is there a fix for CVE-2026-50571?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-50571?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-50571>

HTML: <https://flawdb.com/CVE-2026-50571> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-50571>
