CVE-2026-25126CWE-20

PolarLearn's unvalidated vote direction allows vote count manipulation

High · published January 29, 2026

CVSS v3.1
7.1
EPSS
0%
Percentile
30.9
In the wild
Unconfirmed
What it is

⚡ A sneaky trust in the JSON body could let attackers send an arbitrary `direction` value in PolarLearn’s vote API, causing unexpected chaos! Think of it like a restaurant where patrons can write down their meal preferences. If the waiter takes any note as valid, even a scribble saying 'banana split' when they ordered steak, the kitchen can end up preparing something completely wrong! An attacker could exploit this vulnerability to bypass important business logic, allowing them to cast invalid votes that skew forums unfairly. Imagine a vote tally that reflects ridiculous choices instead of the genuine opinions of users — absolutely devastating for community trust!

Put simply

Think of it like a restaurant where patrons can write down their meal preferences. If the waiter takes any note as valid, even a scribble saying 'banana split' when they ordered steak, the kitchen can end up preparing something completely wrong! This vulnerability allows attackers to manipulate the `direction` value in the vote API without proper validation, leading to unintended downvotes being stored in the system. Essentially, any arbitrary string can be processed as a downvote, compromising the integrity of the voting system.

What to do

An attacker could exploit this vulnerability to bypass important business logic, allowing them to cast invalid votes that skew forums unfairly. Imagine a vote tally that reflects ridiculous choices instead of the genuine opinions of users — absolutely devastating for community trust! To mitigate this, update to version 0-PRERELEASE-15 or later, ensuring that the `direction` value is validated against allowed types before processing. Conduct thorough testing to validate vote logic and prevent future exploitation. You've got this! Patch up, and your PolarLearn platform will be back on track in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00381 · 30.9th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2026-01-29T22:06Z
EPSS history
Timeline
  • 29 JAN 22:06Z
    PolarLearn's unvalidated vote direction allows vote count manipulation
    cvelistv5