cvedb.io
CVE-2026-25126
HIGH · CVSS 7.1
EPSS exploitation probability: 0%
Published 2026-01-29T22:15:56.423 · Last modified 2026-06-17T10:24:09.197

Summary

PolarLearn is a free and open-source learning program. Prior to version 0-PRERELEASE-15, the vote API route (`POST /api/v1/forum/vote`) trusts the JSON body’s `direction` value without runtime validation. TypeScript types are not enforced at runtime, so an attacker can send arbitrary strings (e.g., `"x"`) as `direction`. Downstream (`VoteServer`) treats any non-`"up"` and non-`null` value as a downvote and persists the invalid value in `votes_data`. This can be exploited to bypass intended business logic. Version 0-PRERELEASE-15 fixes the vulnerability.

Affected products

polarlearn — polarlearn

Does this affect you?

Add your gear to cvedb and we'll alert you only when polarlearn ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.