top of page
perceptive_background_267k.jpg

Grocy's API request-body parser (controllers/Api/BaseApiController.php, GetParsedAndFilteredRequestBody) purifies incoming field values with HTMLPurifier, then …

Published:

4 augustus 2026 om 22:00:00

Alert date:

5 augustus 2026 om 12:07:09

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Enterprise Applications

CVE-2026-71236 affects Grocy's API request-body parser in controllers/Api/BaseApiController.php. The vulnerability arises from a flawed sanitization sequence where HTMLPurifier is applied to input fields, but the application then manually reverses HTML entity encoding by replacing encoded entities back to raw characters. This double-decode process reconstructs live HTML and script tags that HTMLPurifier had neutralized, effectively bypassing the security control. The flaw enables stored XSS across multiple API-writable fields including products, recipes, stock, users, and chores. Since the reconstructed malicious content is stored and later rendered without re-sanitization, attackers can inject persistent scripts affecting all users who view the compromised data. The vulnerability has been rated high severity given its broad attack surface across core application features.

Technical details

Mitigation steps:

Affected products:

Grocy

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page