Account takeover via inbox message script injection
Published Nov 22, 2022 · Updated Jul 9, 2026
Stored XSS in Sankhya ERP before 4.11b81 allows remote authenticated users to steal session cookies through crafted inbox messages. Caixa de Entrada accepts HTML and JavaScript in message bodies and renders an image error handler for the recipient without neutralizing it. A normal ERP account and recipient interaction are required; a stolen administrator cookie grants control of that session.
Summary
What happened
Stored XSS in Sankhya ERP before 4.11b81 allows remote authenticated users to steal session cookies through crafted inbox messages. Caixa de Entrada accepts HTML and JavaScript in message bodies and renders an image error handler for the recipient without neutralizing it. A normal ERP account and recipient interaction are required; a stolen administrator cookie grants control of that session.
The record
- CVE
- CVE-2022-42989
- Published
- Nov 22, 2022
- Updated
- Jul 9, 2026
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-79, T1539
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 22, 2022CVE publishedPublication date reported by the CVE source.
- Jul 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- SankhyaERP_XSS_Account_Takeover.txtfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo