Skip to content

Validate iframe attribute names - #92

Merged
dereuromark merged 1 commit into
nextfrom
feature/validate-iframe-attributes
Jun 28, 2026
Merged

dereuromark merged 1 commit into
nextfrom
feature/validate-iframe-attributes

Conversation

@dereuromark

Copy link
Copy Markdown
Owner

Rejects invalid iframe attribute names before rendering embed HTML.

This prevents whitespace/control-character attribute-name injection and rejects on* event-handler attributes, while allowing normal attributes such as data-* and aria-*.

Local checks: composer cs-fix && composer cs-check && composer stan && composer test

@dereuromark
dereuromark marked this pull request as ready for review June 28, 2026 12:10
@dereuromark
dereuromark merged commit 1dede59 into next Jun 28, 2026
8 checks passed
@dereuromark
dereuromark deleted the feature/validate-iframe-attributes branch June 28, 2026 12:10
dereuromark added a commit that referenced this pull request Jun 28, 2026
* Fix embed source template resolution (#91)

* Validate iframe attribute names (#92)

* Reject unsafe oEmbed endpoint URLs (#93)

* Harden default stream HTTP client (#95)

* Tighten URL matcher provider fallback

* Finalize master hardening backport
dereuromark added a commit that referenced this pull request Jun 28, 2026
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