Authenticated XSS via unescaped title attribute
Published Dec 21, 2022 · Updated Apr 14, 2025
Cross-site scripting in SimpleRisk before 20220306-001 allows remote authenticated users to execute script in a victim browser via a crafted field title. The checkAndSetValidation function in simplerisk/js/common.js inserts the title attribute into a toastr message without HTML escaping, allowing markup to be interpreted when the alert is displayed. Exploitation requires a logged-in user to submit a value that reaches this validation path and a victim to view the resulting alert; impact is browser-context script execution rather than direct server compromise.
Summary
What happened
Cross-site scripting in SimpleRisk before 20220306-001 allows remote authenticated users to execute script in a victim browser via a crafted field title. The checkAndSetValidation function in simplerisk/js/common.js inserts the title attribute into a toastr message without HTML escaping, allowing markup to be interpreted when the alert is displayed. Exploitation requires a logged-in user to submit a value that reaches this validation path and a victim to view the resulting alert; impact is browser-context script execution rather than direct server compromise.
The record
- CVE
- CVE-2021-4269
- Published
- Dec 21, 2022
- Updated
- Apr 14, 2025
- Vendor
- SimpleRisk
- Product
- SimpleRisk
- Classifications
- CWE-707, CWE-79, T1189
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 21, 2022CVE publishedPublication date reported by the CVE source.
- Apr 14, 2025Record 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
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
No public exploit references are available in this record.
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