Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2026 at 14:00 UTC
Updated:
7 Aug 2026 at 14:17 UTC
Jump to comment: Most recent
The module exposes public write endpoints for contact forms, appointment requests, reviews, likes and view counters. User-supplied payloads are written to entities with limited validation, which risks stored XSS, oversized payloads and invalid entity references.
$entity->validate() and return 422 with the constraint violations.Audit every *AddResource plugin and implement validation.
None.
Invalid payloads return 422 with a structured violation list.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented