CVE-2021-21316: less-openui5 is an npm package which enables building OpenUI5 themes with Less.js
CVE-2021-21316 is a medium-severity flaw (CVSS 6.3) affecting less-openui5. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
less-openui5 is an npm package which enables building OpenUI5 themes with Less.js. In less-openui5 before version 0.10., when processing theming resources (i.e. `*.less` files) with less-openui5 that originate from an untrusted source, those resources might contain JavaScript code which will be executed in the context of the build process. While this is a feature of the Less.js library it is an unexpected behavior in the context of OpenUI5 and SA
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.3 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.0% (top 38%) |
| CISA exploited list | No |
| Weakness | CWE-74 |
| Published | 2021-02-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-21316?
less-openui5: upgrade to 0.10.0. Exact commands for each OS are on this page.
Is CVE-2021-21316 being exploited?
CVE-2021-21316 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-21316 affect?
CVE-2021-21316 affects less-openui5. Severity is medium (CVSS 6.3). less-openui5 is an npm package which enables building OpenUI5 themes with Less.js. In less-openui5 before version 0.10., when processing theming resources (i.e. `*.less` files) with less-openui5 that originate from an untrusted source, thos
How urgent is CVE-2021-21316?
Priority 38/100. No elevated risk signals yet.