Skip to content

Conversation

@mfilip
Copy link
Member

@mfilip mfilip commented Dec 10, 2025

…address fields to prevent XSS attacks

Add SanitizeAddressPlugin classes for both Quote and Customer address models to strip HTML tags from city, street, and company fields. Update city attribute validation rules to support real-world city names with special characters while maintaining XSS protection through multi-layer defense (EAV input filter, Quote plugin, Customer plugin).

…address fields to prevent XSS attacks

Add SanitizeAddressPlugin classes for both Quote and Customer address models to strip HTML tags from city, street, and company fields. Update city attribute validation rules to support real-world city names with special characters while maintaining XSS protection through multi-layer defense (EAV input filter, Quote plugin, Customer plugin).
@mfilip mfilip requested a review from cblanc December 10, 2025 12:34
@cblanc cblanc merged commit 93d5d3e into master Dec 16, 2025
4 checks passed
@cblanc cblanc deleted the city_chars branch December 16, 2025 12:08
idealbot pushed a commit that referenced this pull request Dec 16, 2025
## [2.5.2](2.5.1...2.5.2) (2025-12-16)

### Bug Fixes

* **security:** add input sanitization plugins for customer and quote … ([#555](#555)) ([93d5d3e](93d5d3e))
@idealbot
Copy link
Member

🎉 This PR is included in version 2.5.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants