Open Bug 2037803 Opened 20 hours ago Updated 14 hours ago

A password characters are displayed in Print Preview and also printed

Categories

(Core :: DOM: Core & HTML, defect)

Firefox 150
defect

Tracking

()

ASSIGNED
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox150 + affected
firefox151 + affected
firefox152 + affected

People

(Reporter: msmucr, Assigned: emilio)

References

(Regression)

Details

(Keywords: nightly-community, regression, sec-other)

Attachments

(2 files)

Steps to reproduce:

Take any form with password input, for example:

<html>
<h1>Welcome</h1>
<form>
    <div>
        <label>User:</label>
        <input id="username" type="text">
    </div>
    <div>
        <label>Password:</label>
        <input id="password" type="password">
    </div>
    <div>
        <input id="submit" type="button" value="Log In">
    </div>
</form>
</html>

Actual results:

Plain characters are displayed in Print preview dialog (a pic is attached) and printed.

The issue happens with current Firefox 150.0.1, Nightly 152.0a1 (2026-05-07) on Mac, Linux and Windows. The ESR version 140.10.0 seems fine.

The original report of the problem:
https://www.deskmodder.de/phpBB3/viewtopic.php?t=34293

Expected results:

Characters should be normally masked by dots like on main page view.

Keywords: sec-other

[Tracking Requested - why for this release]:There is a risk that passwords could be leaked unintentionally

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)

Could restrict it to static clones but doesn't seem worth it.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Severity: -- → S3
Flags: in-testsuite+

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59731 for changes under testing/web-platform/tests

Duplicate of this bug: 2037924
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: