# GHSA-gm68-572p-q28r: @vendure/admin-ui-plugin authenticated Cross-site Scripting vulnerability

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-07-06T15:30:51.000Z
- Modified: 2023-07-06T15:30:51.000Z
- Weaknesses: CWE-79

## Description

### Impact
Vendure provides an authorization system with different levels of privileges. For example, an administrator cannot create another administrator.

In the admin UI, there are a couple of places with description inputs, such as inventory/collection catalog, shipping methods, promotions, and more.

While the WYSIWYG editor allows limited customization, altering the request data (not in the ui) saves and returns arbitrary HTML with no sanitization. Causing an XSS when viewing the page.

The impact of this XSS is privilege escalation. A user that can write any type of description can trigger the attack. Then any other user that visits the vulnerable page is prone to arbitrary Javascript code execution, giving the attacker ability to execute actions on behalf of this user.

### Patches
in progress

### Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_

### References
_Are there any links users can visit to find out more?_

(As written by GitHub Advisory Database.)

## Affected

- @vendure/admin-ui-plugin (npm): before 2.0.3

## References

- <https://github.com/vendure-ecommerce/vendure/security/advisories/GHSA-gm68-572p-q28r> (web)
- <https://github.com/vendure-ecommerce/vendure/commit/0cdc92b241e6fd4017ddfc9fbdca189fc7c1ada0> (web)
- <https://github.com/vendure-ecommerce/vendure> (package)
- <https://github.com/vendure-ecommerce/vendure/blob/master/CHANGELOG.md#203-2023-07-04> (web)

## Sources

- GitHub Advisory Database: [GHSA-gm68-572p-q28r](https://github.com/advisories/GHSA-gm68-572p-q28r), CC-BY-4.0, modified 2023-07-06

---

Page: https://cve.day/GHSA-gm68-572p-q28r · Whole record: https://cve.day/GHSA-gm68-572p-q28r.json · Rebuilt by cve.day 2026-11-25T22:56:45.463Z
