After some tries with lots of changes, and still without results
I configured the cipher in a MUCH simpler way like this... (I'm not aiming for security right now, I'm aiming for functionality)
and in JS
Tried decrypting in java and no problem.
Tried decrypting in JS and nothing on the output.
I'll try other places to look for an answer as it seems a problem with cryptoJS library. Thanks for your answers
PS: Used an online tool (dunno if links are allowed in this forum) to
test the ciphertext (now I'm using Hex text, instead of base64) and the key and it decrypts perfectly (except the final padding ofc)
PS2: Finally i got it to work... And my final conclusion is that the documentation in crypto-js website is not useful. In decrypt function the ciphertext must be passed like this. "CryptoJS.lib.CipherParams.create({ciphertext: CryptoJS.enc.Hex.parse(texto)})" [Using Hex ciphertext]