Skip to content

Conversation

@j-chmielewski
Copy link
Contributor

This pull request fixes vulnerability from penetration tests done by our security team on 2025-09-02:

title: HTML Injection - password reset
ID: DG25-16
raport details: https://defguard.net/pentesting/

Sanitize user-agent string.

Partially resolves DefGuard/defguard#1545

Base automatically changed from release/1.5-alpha to main September 10, 2025 10:19
@j-chmielewski j-chmielewski changed the base branch from main to dev September 16, 2025 07:21
@j-chmielewski j-chmielewski merged commit 945465c into dev Sep 16, 2025
3 checks passed
@j-chmielewski j-chmielewski deleted the fix-dg25-16 branch September 16, 2025 07:42
j-chmielewski added a commit that referenced this pull request Sep 24, 2025
* Fixes pentest issue DG25-16 from 2025-09-02 (#159)

* sanitize user agent to prevent html injection
* add tests

* Do not display sensitive data from protos (#167)

* use the same phone regex as backend does (#168)

* bump version to 1.5.1

* cargo update

---------

Co-authored-by: Maciek <19913370+wojcik91@users.noreply.github.com>
Co-authored-by: Adam <adam@defguard.net>
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.

2 participants