Skip to content

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

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

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

@ikow ikow commented May 13, 2026

Copy link
Copy Markdown

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
@github-actions

Copy link
Copy Markdown

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the Keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.

@github-actions github-actions Bot added the Stale label Jun 16, 2026
@shelbyc

shelbyc commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Hi @ikow, thank you for providing information about the context around GHSA-prqw-jx4x-vw4x. I'm closing this PR because my teammates and I aren't comfortable with publishing test advisories for security research purposes. If you have concerns about the behavior of OSV.dev, the OSV project accepts issues at https://github.com/google/osv.dev/issues.

@shelbyc shelbyc closed this Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants