Skip to content

Add GHSA-prqw-jx4x-vw4x (OSV.dev XSS security research)#7686

Open
ikow wants to merge 1 commit into
github:ikow/advisory-improvement-7686from
ikow:osv-xss-poc
Open

Add GHSA-prqw-jx4x-vw4x (OSV.dev XSS security research)#7686
ikow wants to merge 1 commit into
github:ikow/advisory-improvement-7686from
ikow:osv-xss-poc

Conversation

@ikow
Copy link
Copy Markdown

@ikow ikow commented May 13, 2026

Context

This PR adds advisory GHSA-prqw-jx4x-vw4x as part of authorized security research for Google OSS VRP Issue 512669343.

The advisory demonstrates that javascript: URLs in the references field are not filtered by osv.dev when rendering vulnerability detail pages, enabling stored XSS.

What this tests

The advisory contains a reference with "url": "javascript:alert(document.domain)". When this advisory is imported by OSV and rendered on osv.dev, the Jinja2 template at vulnerability.html:144 will render:

<a href="javascript:alert(document.domain)" target="_blank" rel="nofollow noopener noreferrer">

Jinja2 auto-escaping does NOT filter javascript: URL schemes (only escapes < > & " ').

Cleanup

This advisory will be withdrawn after the vulnerability is verified. The test package does not exist on any package registry.

… 512669343)

This advisory contains a javascript: URL in the references field to
demonstrate that osv.dev renders reference URLs without URL scheme
filtering, enabling stored XSS.

This is authorized security research. The advisory will be withdrawn
after verification.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot changed the base branch from main to ikow/advisory-improvement-7686 May 13, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant