---
title: "@cyclonedx/cyclonedx-library 10.5.1: release notes, upgrades and advisories"
description: "@cyclonedx/cyclonedx-library 10.5.1: release notes, breaking changes by major version and 1 known advisory with their fix."
url: https://inlinr.com/packages/@cyclonedx/cyclonedx-library
lang: en
---

[Packages](https://inlinr.com/packages)

# @cyclonedx/cyclonedx-library

10.5.1 · 11 Nov 2026 Apache-2.0 993.4k / week [Repository](https://github.com/CycloneDX/cyclonedx-javascript-library) [Homepage](https://github.com/CycloneDX/cyclonedx-javascript-library#readme) [npm](https://www.npmjs.com/package/@cyclonedx/cyclonedx-library) [Atom feed](https://inlinr.com/packages/feed/@cyclonedx/cyclonedx-library)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/upgrade)

LineNewestSecurity

- 10.x 10.5.1 No known advisory Latest line
- 9.x 9.5.0 No known advisory [To 10.5.1](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/upgrade/9.5.0-10.5.1)
- 8.x 8.6.0 No known advisory [To 10.5.1](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/upgrade/8.6.0-10.5.1)
- 7.x 7.1.0 No known advisory [To 10.5.1](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/upgrade/7.1.0-10.5.1)
- 6.x 6.13.1 Safe from 6.7.1  · last release Dec 2024, no longer updated [To 10.5.1](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/upgrade/6.13.1-10.5.1)
- 5.x 5.0.0 No known advisory [To 10.5.1](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/upgrade/5.0.0-10.5.1)

## Latest releases

[All 92 releases](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/releases)

1. 10.x · latest line
2. ### [10.5.1](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/releases/10.5.1 "Open this release") [](https://github.com/CycloneDX/cyclonedx-javascript-library/releases/tag/v10.5.1 "Read this release where it was published")  
11 Nov 2026

  - Security  
  XML output of vulnerability's `published` and `updated` ([#1537](https://github.com/CycloneDX/cyclonedx-javascript-library/issues/1537 "https://github.com/CycloneDX/cyclonedx-javascript-library/issues/1537") via [#1538](https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1538 "https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1538"))
  - Security  
  XML vulnerability `published` and `updated` dates
3. ### [10.5.0](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/releases/10.5.0 "Open this release") [](https://github.com/CycloneDX/cyclonedx-javascript-library/releases/tag/v10.5.0 "Read this release where it was published")  
9 Nov 2026

  - Publish sub-namespace types `OptionalFeature` (via [#1535](https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1535 "https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1535"))
  - Publish sub-namespace `OptionalFeature`
4. ### [10.4.0](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/releases/10.4.0 "Open this release") [](https://github.com/CycloneDX/cyclonedx-javascript-library/releases/tag/v10.4.0 "Read this release where it was published")  
3 Nov 2026

  - Optional-feature classes expose a static `cannot` property (via [#1534](https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1534 "https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1534"))  
  It tells whether missing optional dependencies prevent the class from acting:  
  `false` when the feature is available;  
  otherwise an object with a `message` describing why the feature is unavailable.  
  Affected classes:
  - `Serialize.XmlSerializer`, `Validation.JsonValidator`, `Validation.JsonStrictValidator` and `Validation.XmlValidator`  
  now throw `MissingOptionalDependencyError` based on the new `cannot` check,  
  instead of wrapping the underlying `OptPlugError` (via [#1534](https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1534 "https://github.com/CycloneDX/cyclonedx-javascript-library/pull/1534"))

Dependency tracking

## Know when your own dependencies move

@cyclonedx/cyclonedx-library shipped a new major in the last 12 months, among 11 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[Details](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/security)

- [@cyclonedx/cyclonedx-library Improper Restriction of XML External Entity Reference vulnerability](https://inlinr.com/advisories/GHSA-38gf-rh2w-gmj7) High · fixed in 6.7.1

## Health

[Details](https://inlinr.com/packages/@cyclonedx/cyclonedx-library/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

## Works with

- [ajv optional](https://inlinr.com/packages/ajv)
- [libxmljs2 optional](https://inlinr.com/packages/libxmljs2)
- [ajv-formats optional](https://inlinr.com/packages/ajv-formats)
- [xmlbuilder2 optional](https://inlinr.com/packages/xmlbuilder2)
- [packageurl-js optional](https://inlinr.com/packages/packageurl-js)
- [ajv-formats-draft2019 optional](https://inlinr.com/packages/ajv-formats-draft2019)
- [spdx-expression-parse optional](https://inlinr.com/packages/spdx-expression-parse)

## Same family

- [@cyclonedx/cyclonedx-npm 697.7k/wk](https://inlinr.com/packages/@cyclonedx/cyclonedx-npm)

Reading releases, release notes and advisories…

Registry facts last checked 20 Nov 2026\. Releases and advisories last read 20 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
