CVE-2026-71236: Grocy: Stored XSS via HTMLPurifier Output Double-Decode

Published Aug 5, 2026
·
Updated

Grocy's API request-body parser (controllers/Api/BaseApiController.php, GetParsedAndFilteredRequestBody) purifies incoming field values with HTMLPurifier, then manually reverses HTML-entity encoding of the resulting output by replacing &amp;lt;, &amp;gt;, and &amp;amp; back to <, >, and & immediately after purification. This double-decode reconstructs live HTML/script tags from the entity-encoded form that HTMLPurifier produced to neutralize them, re-introducing stored XSS across API-writable fields (products, recipes, stock, users, chores, and others) that are rendered elsewhere without re-sanitization.

Affected Software

1 affected component
Grocy

Event History

Aug 5, 2026
CVE Published
via MITRE·10:56 AM
Data Sourced
via MITRE·10:56 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71236?

The severity of CVE-2026-71236 is rated as high with a score of 8.

2

How do I fix CVE-2026-71236?

To fix CVE-2026-71236, ensure that HTMLPurifier is properly configured and avoid manually reversing HTML-entity encoding in your application.

3

What type of vulnerability is described in CVE-2026-71236?

CVE-2026-71236 is a stored cross-site scripting (XSS) vulnerability.

4

What impact does CVE-2026-71236 have on my application?

CVE-2026-71236 could allow an attacker to inject malicious scripts that may execute in the context of a user's session.

5

In which software is CVE-2026-71236 found?

CVE-2026-71236 is found in the Grocy software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203