Skip to main content
EPSS 0.2%top 90%

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

0
High
Published: 08/05/2026 (08/05/2026, 12:31:31 UTC)
Source: GCVE Database

Description

Grocy's API request-body parser improperly reverses HTML entity encoding after sanitizing input with HTMLPurifier, which reintroduces executable HTML/script tags. This flaw leads to stored cross-site scripting (XSS) vulnerabilities in multiple API-writable fields such as products, recipes, stock, users, and chores. The vulnerability has a high severity score of 8.7 and affects confidentiality and integrity without impacting availability.

CVSS v3.1

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 17:44:14 UTC

Technical Analysis

The vulnerability in Grocy's API request-body parser (specifically in controllers/Api/BaseApiController.php, GetParsedAndFilteredRequestBody) arises because after purifying incoming field values with HTMLPurifier, the code manually reverses HTML entity encoding by replacing &amp;lt;, &amp;gt;, and &amp;amp; back to <, >, and &. This double-decoding negates the neutralization performed by HTMLPurifier, effectively reconstructing live HTML/script tags that enable stored XSS attacks. These attacks can occur across various API-writable fields that are later rendered without additional sanitization.

Potential Impact

Successful exploitation allows an attacker with API write privileges to inject malicious scripts into fields such as products, recipes, stock, users, and chores. These scripts execute in the context of users viewing the affected data, compromising confidentiality and integrity by enabling actions like session hijacking or unauthorized actions. Availability is not impacted. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using API endpoints that accept user input for affected fields or implement additional sanitization on the server side before rendering. Monitor vendor channels for official patches or updates addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c924-wcfj-cr8j
Osv Schema Version
1.4.0
Aliases
["CVE-2026-71236"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a73574cbf8831d53915a36c

Added to database: 08/05/2026, 15:31:24 UTC

Last enriched: 08/05/2026, 17:44:14 UTC

Last updated: 09/18/2026, 10:01:33 UTC

Views: 55

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses