Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix XSS in $file_extension #8193

Closed
wants to merge 1 commit into from
Closed

Fix XSS in $file_extension #8193

wants to merge 1 commit into from

Conversation

vlmanaf
Copy link

@vlmanaf vlmanaf commented Aug 31, 2021

It is possible to inject arbitrary html/js code through attachment's $file_extension variable that will be executed while displaying "attachmentvalidationerror" warning.

alecpl added a commit that referenced this pull request Aug 31, 2021
alecpl added a commit that referenced this pull request Aug 31, 2021
@alecpl alecpl added this to the 1.5.0 milestone Aug 31, 2021
@alecpl
Copy link
Member

alecpl commented Aug 31, 2021

Thanks. I fixed it using a different function in bdb3165.

@alecpl alecpl closed this Aug 31, 2021
alecpl added a commit that referenced this pull request Aug 31, 2021
alecpl added a commit that referenced this pull request Oct 5, 2021
Ma27 added a commit to Ma27/nixpkgs that referenced this pull request Nov 13, 2021
ChangeLog: https://github.com/roundcube/roundcubemail/releases/tag/1.4.12

This fixes a XSS[1] and a SQL-injection[2] vulnerability. Both are
already fixed on 1.5.0 which is available on `nixos-unstable`[3].

[1] roundcube/roundcubemail#8193
[2] roundcube/roundcubemail@4e1358b
[3] https://nixpk.gs/pr-tracker.html?pr=142148
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants