No Code Attached Yet AI Generated
avatar vishalchincholi1
vishalchincholi1
30 Jan 2026

The font size input fields do not properly validate input types. When special characters or JavaScript code is entered (e.g., "alert('test')", "<script>", "abc123"), the field accepts the input without validation feedback. While the backend sanitization eventually corrects the value (resetting to default), the user receives no feedback about the invalid input, leading to confusion about what happened to their entered value.

Steps to Reproduce:

Navigate to: Administrator > Templates > Styles > Cassiopeia Extended - Default > Font Settings

Triple-click "Body Font Size (rem)" field to select all

Type: alert('test')

Click: Save button

Result: Value reverts to default (1) with no error message shown to user

Expected Result:

Real-time validation feedback as user types

Error message displayed before save attempt

Invalid characters highlighted in red

Clear message: "Font size must be a number (e.g., 1.5, 2, 0.8)"

Actual Result:

Input accepted without warning

Save silently corrects the value to default

No user feedback about what went wrong

User confused about why their input was rejected

Root Cause:

Missing HTML5 input type validation (type="number" not enforced)

No client-side JavaScript validation

No user feedback mechanism for validation errors

avatar vishalchincholi1 vishalchincholi1 - open - 30 Jan 2026
avatar vishalchincholi1 vishalchincholi1 - change - 30 Jan 2026
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Jan 2026
avatar brianteeman
brianteeman - comment - 30 Jan 2026

Please search before submitting an issue

avatar rdeutz rdeutz - change - 30 Jan 2026
Labels Added: AI Generated
avatar rdeutz rdeutz - labeled - 30 Jan 2026
avatar rdeutz rdeutz - close - 30 Jan 2026
avatar rdeutz rdeutz - change - 30 Jan 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-01-30 18:13:07
Closed_By rdeutz
avatar rdeutz
rdeutz - comment - 30 Jan 2026

Please stop using AI to generate Issues, we have enough to do with real problems.

Add a Comment

Login with GitHub to post a comment