Visitar URL original
Closed by Hackwar · Pull Request #84 · joomla-framework/http · GitHub
Skip to content

Closed - #84

Closed
Hackwar wants to merge 1 commit into
joomla-framework:4.x-devfrom
Hackwar:4.x-header-injection
Closed

Hackwar wants to merge 1 commit into
joomla-framework:4.x-devfrom
Hackwar:4.x-header-injection

Conversation

@Hackwar

@Hackwar Hackwar commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

All three transports concatenated header names and values into the request
as "$name: $value" without validation, so a value containing a line break
added further headers to the request. Applications that put user input into
a header were open to header injection and request splitting.

Validate the names against the token grammar and reject values, including
the user agent, that contain CR, LF or NUL with an InvalidArgumentException.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Hackwar Hackwar closed this Nov 13, 2026
@Hackwar Hackwar changed the title [4.x] Reject header names and values that would inject further headers Closed Nov 13, 2026
@Hackwar
Hackwar deleted the 4.x-header-injection branch November 13, 2026 12:51
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