-
Notifications
You must be signed in to change notification settings - Fork 145
Description
Hi maintainers,
I’m reporting a dependency security issue affecting adaptivecards-templating consumers.
Summary
adaptivecards-templating (v2.x) relies on adaptive-expressions as a peer dependency. The latest adaptive-expressions release (4.23.3) still depends on fast-xml-parser ^4.4.1, which is flagged by current advisories (critical) for XML parser issues.
This creates a problem for consumers:
- Security scanners flag a critical vulnerability in the dependency tree
- Upgrading
adaptive-expressionsdoes not resolve it (4.23.3still depends on^4.4.1) - The
adaptive-expressionsupstream repo (microsoft/botbuilder-js) is archived, so a fix may not arrive there
Dependency chain
adaptivecards-templating -> adaptive-expressions -> fast-xml-parser
Current package state (verified)
adaptivecards-templating@2.3.1(peer dep:adaptive-expressions: ^4.11.0)adaptive-expressions@4.23.3->fast-xml-parser: ^4.4.1
Security advisories involved
- CVE-2026-26278 (DoS through entity expansion in DOCTYPE)
- CVE-2026-25896 (entity encoding bypass via regex injection in DOCTYPE entity names)
Upstream context
I also opened an issue in fast-xml-parser asking for a fix/backport in the 4.x line, since many downstream packages are still pinned there:
fast-xml-parserissue: Backport CVE-2026-25896 fix to 4.x NaturalIntelligence/fast-xml-parser#792
Based on the maintainer's response there, a 4.x backport currently seems unlikely (the issue was closed without a 4.x remediation plan).
This makes a clear, supported mitigation path important for adaptivecards-templating consumers.
Request
Could you please advise and/or take one of these actions?
- Provide an official mitigation path for
adaptivecards-templatingconsumers - Update
adaptivecards-templatingdocs to acknowledge the issue and recommended workaround (e.g. safe override/pin if compatible) - Decouple/limit the dependency on
adaptive-expressionsfeatures that requirefast-xml-parser(if feasible) - Publish a maintained compatibility path (fork/alternate package/version guidance) now that
adaptive-expressionsupstream is archived
Additional context
adaptivecards-templating v2+ correctly moved adaptive-expressions out as a peer dependency, which usually helps with independent upgrades. In this case, the latest adaptive-expressions still retains the vulnerable dependency range, so upgrading it does not resolve the issue.
Thanks.