# GHSA-j7wp-vjj6-cp5m: Cross-Site Scripting in @progress/kendo-angular-editor

> An attacker can execute arbitrary JavaScript in the victim's browser by injecting malicious event handlers into the Kendo Angular Editor component.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 11 Aug 2020

## What is GHSA-j7wp-vjj6-cp5m?

GHSA-j7wp-vjj6-cp5m is a cross-site scripting vulnerability in @progress/kendo-angular-editor, published on 11 Aug 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

### Official description

Kendo UI for Angular Editor Component (npm package @progress/kendo-angular-editor) before version 1.2.3 is vulnerable to Cross-Site Scripting. When the Editor content contains potentially malicious scripts in element event handlers, they get executed.
Adding the following content to the Editor value demonstrates the issue: `<img src="" onerror=alert(document.domain)>`.

## Which versions are affected by GHSA-j7wp-vjj6-cp5m?

2 open source packages ship an affected version, including @progress/kendo-angular-editor.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `@progress/kendo-angular-editor` | npm | All versions | 1.2.3 |
| `@progress/kendo-angular-editor` | npm | All versions | 1.2.3 |

## How do I fix GHSA-j7wp-vjj6-cp5m?

Upgrade @progress/kendo-angular-editor to 1.2.3 or later.

## Is GHSA-j7wp-vjj6-cp5m being exploited?

There is no known exploitation of GHSA-j7wp-vjj6-cp5m in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-j7wp-vjj6-cp5m and fix it if it is affected.

What it is: GHSA-j7wp-vjj6-cp5m is a cross-site scripting vulnerability in @progress/kendo-angular-editor, published on 11 Aug 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of GHSA-j7wp-vjj6-cp5m in the wild and no public exploit code.

Affected packages and fixed versions:
- @progress/kendo-angular-editor (npm): affected all versions; fixed in 1.2.3
- @progress/kendo-angular-editor (npm): affected all versions; fixed in 1.2.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-j7wp-vjj6-cp5m/ (Markdown: https://insights.sbomify.com/GHSA-j7wp-vjj6-cp5m/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-j7wp-vjj6-cp5m

---
From sbomify Insights: https://insights.sbomify.com/GHSA-j7wp-vjj6-cp5m/
Summaries are generated and may contain mistakes; the official description above is the record.
